{"action":"created","issue":{"url":"https://api.github.com/repos/vazco/uniforms/issues/31","repository_url":"https://api.github.com/repos/vazco/uniforms","labels_url":"https://api.github.com/repos/vazco/uniforms/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/vazco/uniforms/issues/31/comments","events_url":"https://api.github.com/repos/vazco/uniforms/issues/31/events","html_url":"https://github.com/vazco/uniforms/issues/31","id":160603707,"number":31,"title":"Add a component that renders a list of fields","user":{"login":"macrozone","id":1972353,"avatar_url":"https://avatars.githubusercontent.com/u/1972353?v=3","gravatar_id":"","url":"https://api.github.com/users/macrozone","html_url":"https://github.com/macrozone","followers_url":"https://api.github.com/users/macrozone/followers","following_url":"https://api.github.com/users/macrozone/following{/other_user}","gists_url":"https://api.github.com/users/macrozone/gists{/gist_id}","starred_url":"https://api.github.com/users/macrozone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macrozone/subscriptions","organizations_url":"https://api.github.com/users/macrozone/orgs","repos_url":"https://api.github.com/users/macrozone/repos","events_url":"https://api.github.com/users/macrozone/events{/privacy}","received_events_url":"https://api.github.com/users/macrozone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vazco/uniforms/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"radekmie","id":1379064,"avatar_url":"https://avatars.githubusercontent.com/u/1379064?v=3","gravatar_id":"","url":"https://api.github.com/users/radekmie","html_url":"https://github.com/radekmie","followers_url":"https://api.github.com/users/radekmie/followers","following_url":"https://api.github.com/users/radekmie/following{/other_user}","gists_url":"https://api.github.com/users/radekmie/gists{/gist_id}","starred_url":"https://api.github.com/users/radekmie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radekmie/subscriptions","organizations_url":"https://api.github.com/users/radekmie/orgs","repos_url":"https://api.github.com/users/radekmie/repos","events_url":"https://api.github.com/users/radekmie/events{/privacy}","received_events_url":"https://api.github.com/users/radekmie/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-06-16T08:20:02Z","updated_at":"2016-06-16T11:00:30Z","closed_at":null,"body":"I think it would be nice to have a `<AutoFieldList />`-component that renders a list of fields automatically\r\nsimilar to aldeed:autoform's https://github.com/aldeed/meteor-autoform#afquickfields:\r\n\r\n`````\r\n<AutoForm>\r\n  <AutoFieldList />\r\n  <SubmitField value=\"send\" />\r\n</AutoForm>\r\n``````\r\n\r\nThis allows us to easly change the style or behavior of the submit button or to add more elements inside the form without loosing the \"auto-form-magic\".\r\n\r\nyou could also omit fields:\r\n\r\n`````\r\n<AutoForm>\r\n  <AutoFieldList omitFields={[\"userId\", \"title\"]}/>\r\n  <SubmitField value=\"send\" />\r\n</AutoForm>\r\n``````\r\n\r\nor include only some fields:\r\n\r\n`````\r\n<AutoForm>\r\n  <AutoFieldList fields={[\"title\", \"text\"]}/>\r\n  <SubmitField value=\"send\" />\r\n</AutoForm>\r\n``````\r\n\r\nor group some fields:\r\n\r\n`````\r\n<AutoForm>\r\n  <div class=\"col-xs-6\">\r\n      <AutoFieldList fields={[\"title\", \"text\"]}/>\r\n  </div>\r\n  <img class=\"col-xs-6\" src=\"funnycatpicture.jpg\" />\r\n  <div class=\"col-xs-12\">\r\n      <AutoFieldList fields={[\"comment\"]}/>\r\n  </div>\r\n  <SubmitField value=\"send\" />\r\n</AutoForm>\r\n``````\r\n\r\nWhat do you think?\r\n\r\nShould be easy to develop, right? AutoFieldList (or however it will be named) could receive the schema-definition by context.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vazco/uniforms/issues/comments/226453990","html_url":"https://github.com/vazco/uniforms/issues/31#issuecomment-226453990","issue_url":"https://api.github.com/repos/vazco/uniforms/issues/31","id":226453990,"user":{"login":"macrozone","id":1972353,"avatar_url":"https://avatars.githubusercontent.com/u/1972353?v=3","gravatar_id":"","url":"https://api.github.com/users/macrozone","html_url":"https://github.com/macrozone","followers_url":"https://api.github.com/users/macrozone/followers","following_url":"https://api.github.com/users/macrozone/following{/other_user}","gists_url":"https://api.github.com/users/macrozone/gists{/gist_id}","starred_url":"https://api.github.com/users/macrozone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macrozone/subscriptions","organizations_url":"https://api.github.com/users/macrozone/orgs","repos_url":"https://api.github.com/users/macrozone/repos","events_url":"https://api.github.com/users/macrozone/events{/privacy}","received_events_url":"https://api.github.com/users/macrozone/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T11:00:30Z","updated_at":"2016-06-16T11:00:30Z","body":"Also thought about `AutoFields`, but it may be get confused with `AutoField` ;-)"}}
{"actor":{"display_login":"macrozone"}}