{"action":"created","issue":{"url":"https://api.github.com/repos/nicolaslopezj/simple-react-form/issues/26","repository_url":"https://api.github.com/repos/nicolaslopezj/simple-react-form","labels_url":"https://api.github.com/repos/nicolaslopezj/simple-react-form/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/nicolaslopezj/simple-react-form/issues/26/comments","events_url":"https://api.github.com/repos/nicolaslopezj/simple-react-form/issues/26/events","html_url":"https://github.com/nicolaslopezj/simple-react-form/issues/26","id":173602957,"number":26,"title":"Field Type hidden","user":{"login":"rgnevashev","id":123600,"avatar_url":"https://avatars.githubusercontent.com/u/123600?v=3","gravatar_id":"","url":"https://api.github.com/users/rgnevashev","html_url":"https://github.com/rgnevashev","followers_url":"https://api.github.com/users/rgnevashev/followers","following_url":"https://api.github.com/users/rgnevashev/following{/other_user}","gists_url":"https://api.github.com/users/rgnevashev/gists{/gist_id}","starred_url":"https://api.github.com/users/rgnevashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgnevashev/subscriptions","organizations_url":"https://api.github.com/users/rgnevashev/orgs","repos_url":"https://api.github.com/users/rgnevashev/repos","events_url":"https://api.github.com/users/rgnevashev/events{/privacy}","received_events_url":"https://api.github.com/users/rgnevashev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nicolaslopezj/simple-react-form/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-27T16:11:20Z","updated_at":"2016-10-01T02:16:25Z","closed_at":null,"body":"```\r\nconst TestSchema = new SimpleSchema({\r\n  plan: {\r\n    type: String\r\n  }\r\n})\r\n\r\nclass Test extends React.Component {\r\n  constructor(props) {\r\n    super(props)\r\n    this.onSubmit = this.onSubmit.bind(this)\r\n    this.state = {\r\n    }\r\n  }\r\n  onSubmit(doc) {\r\n    console.log(doc) // {} no plan property here\r\n  }\r\n  render() {\r\n   const plan = \"pro\"\r\n    return (\r\n      <Form schema={TestSchema} type=\"function\" onSubmit={this.onSubmit} >\r\n         <Field fieldName=\"plan\" fieldType=\"hidden\" showLabel={false} value={plan} />\r\n      </Form>\r\n    )\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/nicolaslopezj/simple-react-form/issues/comments/250886698","html_url":"https://github.com/nicolaslopezj/simple-react-form/issues/26#issuecomment-250886698","issue_url":"https://api.github.com/repos/nicolaslopezj/simple-react-form/issues/26","id":250886698,"user":{"login":"vedovato","id":1370713,"avatar_url":"https://avatars.githubusercontent.com/u/1370713?v=3","gravatar_id":"","url":"https://api.github.com/users/vedovato","html_url":"https://github.com/vedovato","followers_url":"https://api.github.com/users/vedovato/followers","following_url":"https://api.github.com/users/vedovato/following{/other_user}","gists_url":"https://api.github.com/users/vedovato/gists{/gist_id}","starred_url":"https://api.github.com/users/vedovato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedovato/subscriptions","organizations_url":"https://api.github.com/users/vedovato/orgs","repos_url":"https://api.github.com/users/vedovato/repos","events_url":"https://api.github.com/users/vedovato/events{/privacy}","received_events_url":"https://api.github.com/users/vedovato/received_events","type":"User","site_admin":false},"created_at":"2016-10-01T02:16:25Z","updated_at":"2016-10-01T02:16:25Z","body":"Ya @fermuch, it works ilke a charm and you solved half of my problem. Thanks! \r\nWould it be good to be able to make these fields hidden also so our user doesn't need to care about filling it. Let's wait this next release, hope this feature comes with it."}}
{"actor":{"display_login":"vedovato"}}