{"action":"created","issue":{"url":"https://api.github.com/repos/gcanti/tcomb-form/issues/86","labels_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/86/comments","events_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/86/events","html_url":"https://github.com/gcanti/tcomb-form/issues/86","id":63851436,"number":86,"title":"Subform custom component?","user":{"login":"mattem","id":2403720,"avatar_url":"https://avatars.githubusercontent.com/u/2403720?v=3","gravatar_id":"","url":"https://api.github.com/users/mattem","html_url":"https://github.com/mattem","followers_url":"https://api.github.com/users/mattem/followers","following_url":"https://api.github.com/users/mattem/following{/other_user}","gists_url":"https://api.github.com/users/mattem/gists{/gist_id}","starred_url":"https://api.github.com/users/mattem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattem/subscriptions","organizations_url":"https://api.github.com/users/mattem/orgs","repos_url":"https://api.github.com/users/mattem/repos","events_url":"https://api.github.com/users/mattem/events{/privacy}","received_events_url":"https://api.github.com/users/mattem/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gcanti/tcomb-form/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-23T22:44:02Z","updated_at":"2015-04-02T08:03:52Z","closed_at":null,"body":"I was wondering if it is possible, with a custom component or other means, to present a drop down select to the user (like t.enum does) but containing a list of 'pluggable' subforms (t.struct), which when one is selected, would display the form for that item. Selecting a different item would then remove the old form, and show the selected one. \r\n\r\nFor example, you could have a 'Transport Type' drop down containing items such as 'Car', 'Bike', 'Walking', and when one is selected, the form for Car is displayed, or Bike etc."},"comment":{"url":"https://api.github.com/repos/gcanti/tcomb-form/issues/comments/88811764","html_url":"https://github.com/gcanti/tcomb-form/issues/86#issuecomment-88811764","issue_url":"https://api.github.com/repos/gcanti/tcomb-form/issues/86","id":88811764,"user":{"login":"gcanti","id":878912,"avatar_url":"https://avatars.githubusercontent.com/u/878912?v=3","gravatar_id":"","url":"https://api.github.com/users/gcanti","html_url":"https://github.com/gcanti","followers_url":"https://api.github.com/users/gcanti/followers","following_url":"https://api.github.com/users/gcanti/following{/other_user}","gists_url":"https://api.github.com/users/gcanti/gists{/gist_id}","starred_url":"https://api.github.com/users/gcanti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcanti/subscriptions","organizations_url":"https://api.github.com/users/gcanti/orgs","repos_url":"https://api.github.com/users/gcanti/repos","events_url":"https://api.github.com/users/gcanti/events{/privacy}","received_events_url":"https://api.github.com/users/gcanti/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T08:03:52Z","updated_at":"2015-04-02T08:03:52Z","body":"@chollier Not sure why it's like that. I agree with you. it's weird. I'll fix it"}}