{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/276","repository_url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form","labels_url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/276/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/276/comments","events_url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/276/events","html_url":"https://github.com/mozilla-services/react-jsonschema-form/pull/276","id":165018343,"number":276,"title":"Fix #275: Denote optional field more explicitely.","user":{"login":"n1k0","id":41547,"avatar_url":"https://avatars.githubusercontent.com/u/41547?v=3","gravatar_id":"","url":"https://api.github.com/users/n1k0","html_url":"https://github.com/n1k0","followers_url":"https://api.github.com/users/n1k0/followers","following_url":"https://api.github.com/users/n1k0/following{/other_user}","gists_url":"https://api.github.com/users/n1k0/gists{/gist_id}","starred_url":"https://api.github.com/users/n1k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1k0/subscriptions","organizations_url":"https://api.github.com/users/n1k0/orgs","repos_url":"https://api.github.com/users/n1k0/repos","events_url":"https://api.github.com/users/n1k0/events{/privacy}","received_events_url":"https://api.github.com/users/n1k0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-12T08:10:37Z","updated_at":"2016-07-13T06:23:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/pulls/276","html_url":"https://github.com/mozilla-services/react-jsonschema-form/pull/276","diff_url":"https://github.com/mozilla-services/react-jsonschema-form/pull/276.diff","patch_url":"https://github.com/mozilla-services/react-jsonschema-form/pull/276.patch"},"body":"Refs #275, WiP, cc @kav; patch deployed to [gh-pages](https://mozilla-services.github.io/react-jsonschema-form).\r\n\r\nDenoting optional fields instead of required ones, as suggested in [these UX guidelines for forms](https://uxdesign.cc/design-better-forms-96fadca0f49c):\r\n\r\n![uxforms](https://cloud.githubusercontent.com/assets/41547/16777733/ff57bf3a-486a-11e6-88f8-4d8050f9d24b.png)\r\n\r\nEdit: revamped the patch with better styling for optional fields. it now prevents the Form root schema field to be considered as optional:\r\n\r\n![](http://i.imgur.com/i07EEcG.png)\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/comments/232267156","html_url":"https://github.com/mozilla-services/react-jsonschema-form/pull/276#issuecomment-232267156","issue_url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/276","id":232267156,"user":{"login":"n1k0","id":41547,"avatar_url":"https://avatars.githubusercontent.com/u/41547?v=3","gravatar_id":"","url":"https://api.github.com/users/n1k0","html_url":"https://github.com/n1k0","followers_url":"https://api.github.com/users/n1k0/followers","following_url":"https://api.github.com/users/n1k0/following{/other_user}","gists_url":"https://api.github.com/users/n1k0/gists{/gist_id}","starred_url":"https://api.github.com/users/n1k0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1k0/subscriptions","organizations_url":"https://api.github.com/users/n1k0/orgs","repos_url":"https://api.github.com/users/n1k0/repos","events_url":"https://api.github.com/users/n1k0/events{/privacy}","received_events_url":"https://api.github.com/users/n1k0/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T06:23:11Z","updated_at":"2016-07-13T06:23:11Z","body":"Damn, this doesn't help\r\n\r\n![](http://i.imgur.com/YHQtm9k.png)\r\n\r\nMaybe we should make it an option (no pun intended)?"}}
{"actor":{"display_login":"n1k0"}}