{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/302","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/302/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/302/comments","events_url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/302/events","html_url":"https://github.com/mozilla-services/react-jsonschema-form/pull/302","id":171170247,"number":302,"title":"Prototype component demonstrating support for OneOf","user":{"login":"mplis-jetsetter","id":18580947,"avatar_url":"https://avatars.githubusercontent.com/u/18580947?v=3","gravatar_id":"","url":"https://api.github.com/users/mplis-jetsetter","html_url":"https://github.com/mplis-jetsetter","followers_url":"https://api.github.com/users/mplis-jetsetter/followers","following_url":"https://api.github.com/users/mplis-jetsetter/following{/other_user}","gists_url":"https://api.github.com/users/mplis-jetsetter/gists{/gist_id}","starred_url":"https://api.github.com/users/mplis-jetsetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mplis-jetsetter/subscriptions","organizations_url":"https://api.github.com/users/mplis-jetsetter/orgs","repos_url":"https://api.github.com/users/mplis-jetsetter/repos","events_url":"https://api.github.com/users/mplis-jetsetter/events{/privacy}","received_events_url":"https://api.github.com/users/mplis-jetsetter/received_events","type":"User","site_admin":false},"labels":[{"id":300444388,"url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-15T13:29:24Z","updated_at":"2017-01-02T14:11:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/pulls/302","html_url":"https://github.com/mozilla-services/react-jsonschema-form/pull/302","diff_url":"https://github.com/mozilla-services/react-jsonschema-form/pull/302.diff","patch_url":"https://github.com/mozilla-services/react-jsonschema-form/pull/302.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/comments/269977286","html_url":"https://github.com/mozilla-services/react-jsonschema-form/pull/302#issuecomment-269977286","issue_url":"https://api.github.com/repos/mozilla-services/react-jsonschema-form/issues/302","id":269977286,"user":{"login":"spacebaboon","id":689908,"avatar_url":"https://avatars.githubusercontent.com/u/689908?v=3","gravatar_id":"","url":"https://api.github.com/users/spacebaboon","html_url":"https://github.com/spacebaboon","followers_url":"https://api.github.com/users/spacebaboon/followers","following_url":"https://api.github.com/users/spacebaboon/following{/other_user}","gists_url":"https://api.github.com/users/spacebaboon/gists{/gist_id}","starred_url":"https://api.github.com/users/spacebaboon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spacebaboon/subscriptions","organizations_url":"https://api.github.com/users/spacebaboon/orgs","repos_url":"https://api.github.com/users/spacebaboon/repos","events_url":"https://api.github.com/users/spacebaboon/events{/privacy}","received_events_url":"https://api.github.com/users/spacebaboon/received_events","type":"User","site_admin":false},"created_at":"2017-01-02T14:11:05Z","updated_at":"2017-01-02T14:11:05Z","body":"@jManji We're using OneOf as a way to express conditional forms, i.e. depending on a radio button value, show a different set of form elements below. I was trying to do this with customised components to render the OneOf, but felt that I was painting myself into a corner, and was still facing some big problems to which I could only see hacky solutions, so I threw it all away and am using a schema transforming approach instead, which feels cleaner, if still not exactly beautiful, and doesn't require any changes to RJSF. I believe there's an example of schema transformation for conditional forms in here somewhere."}}
{"actor":{"display_login":"spacebaboon"}}