{"action":"created","issue":{"url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/364","repository_url":"https://api.github.com/repos/davidkpiano/react-redux-form","labels_url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/364/comments","events_url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/364/events","html_url":"https://github.com/davidkpiano/react-redux-form/issues/364","id":171953915,"number":364,"title":"V1 cannot find $form issue","user":{"login":"th3fallen","id":291859,"avatar_url":"https://avatars.githubusercontent.com/u/291859?v=3","gravatar_id":"","url":"https://api.github.com/users/th3fallen","html_url":"https://github.com/th3fallen","followers_url":"https://api.github.com/users/th3fallen/followers","following_url":"https://api.github.com/users/th3fallen/following{/other_user}","gists_url":"https://api.github.com/users/th3fallen/gists{/gist_id}","starred_url":"https://api.github.com/users/th3fallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/th3fallen/subscriptions","organizations_url":"https://api.github.com/users/th3fallen/orgs","repos_url":"https://api.github.com/users/th3fallen/repos","events_url":"https://api.github.com/users/th3fallen/events{/privacy}","received_events_url":"https://api.github.com/users/th3fallen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidkpiano/react-redux-form/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-18T17:16:20Z","updated_at":"2016-08-18T17:57:08Z","closed_at":null,"body":"Sorry for all the issues but dont see a slack or irc channel to ask these in. \r\n\r\nBut given the following.\r\n\r\n\r\nform \r\n```\r\n<Form ref=\"inviteManager\" model=\"shared.unclaimed.inviteManager\" className=\"invite-manager-form\">\r\n\r\n          <Field model=\"shared.unclaimed.inviteManager.to\"\r\n                 className={fieldsetClasses}\r\n                 validateOn=\"blur\"\r\n                 validators={{\r\n                   required: (val) => val && val.length,\r\n                   isEmail: validator.isEmail,\r\n                 }}\r\n          >\r\n            <label className=\"form-control-label\" htmlFor=\"to\">Email Or Mobile Number</label>\r\n            <input type=\"text\" className={inputClasses} />\r\n          </Field>\r\n</Form>\r\n```\r\n\r\nreducer \r\n```\r\nimport { formReducer, modelReducer, combineForms } from 'react-redux-form';\r\n\r\n\r\nconst initalState = {\r\n  to: '',\r\n  message: '',\r\n};\r\n\r\nexport const inviteManager =  combineForms(initalState);\r\n```\r\n\r\nerror \r\n```\r\nget-field-from-state.js?8197:29 Uncaught TypeError: Cannot read property '$form' of null\r\n```\r\n\r\nam i missing something simple?\r\n\r\nstate is as follows\r\nhttp://www.jsoneditoronline.org/?id=4aac2367e3bca1350d1ada0fd21099e8\r\n![](http://th3fallen.d.pr/1e5DL.jpg)"},"comment":{"url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/comments/240804044","html_url":"https://github.com/davidkpiano/react-redux-form/issues/364#issuecomment-240804044","issue_url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/364","id":240804044,"user":{"login":"davidkpiano","id":1093738,"avatar_url":"https://avatars.githubusercontent.com/u/1093738?v=3","gravatar_id":"","url":"https://api.github.com/users/davidkpiano","html_url":"https://github.com/davidkpiano","followers_url":"https://api.github.com/users/davidkpiano/followers","following_url":"https://api.github.com/users/davidkpiano/following{/other_user}","gists_url":"https://api.github.com/users/davidkpiano/gists{/gist_id}","starred_url":"https://api.github.com/users/davidkpiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidkpiano/subscriptions","organizations_url":"https://api.github.com/users/davidkpiano/orgs","repos_url":"https://api.github.com/users/davidkpiano/repos","events_url":"https://api.github.com/users/davidkpiano/events{/privacy}","received_events_url":"https://api.github.com/users/davidkpiano/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T17:57:08Z","updated_at":"2016-08-18T17:57:08Z","body":"@th3fallen Yep, that's definitely possible... I just need to work out the logic for it. I think that V1 will initially only allow this for string models, and disallow that behavior if the model is a `getter` function, such as `track(...)`. It would look like this:\r\n\r\n```js\r\n<Form model=\"user\">\r\n  <Field model=\".name\" /> // user.name\r\n</Form>\r\n```\r\n\r\nSee #173 for more details."}}
{"actor":{"display_login":"davidkpiano"}}