{"action":"created","issue":{"url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/322","repository_url":"https://api.github.com/repos/davidkpiano/react-redux-form","labels_url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/322/comments","events_url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/322/events","html_url":"https://github.com/davidkpiano/react-redux-form/issues/322","id":166531469,"number":322,"title":"[React.Native] How to run submit logic?","user":{"login":"alexesDev","id":1255344,"avatar_url":"https://avatars.githubusercontent.com/u/1255344?v=3","gravatar_id":"","url":"https://api.github.com/users/alexesDev","html_url":"https://github.com/alexesDev","followers_url":"https://api.github.com/users/alexesDev/followers","following_url":"https://api.github.com/users/alexesDev/following{/other_user}","gists_url":"https://api.github.com/users/alexesDev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexesDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexesDev/subscriptions","organizations_url":"https://api.github.com/users/alexesDev/orgs","repos_url":"https://api.github.com/users/alexesDev/repos","events_url":"https://api.github.com/users/alexesDev/events{/privacy}","received_events_url":"https://api.github.com/users/alexesDev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-20T08:54:21Z","updated_at":"2016-07-20T09:53:00Z","closed_at":null,"body":"I see a source code, ```<form>``` has submit event and it run validation.\r\nBut how can I run the validation for the native form? (for empty form)\r\n\r\n```js\r\nimport { Form } from 'react-redux-form/lib/native';\r\n\r\n<Form model=\"user\">\r\n  <button??? />\r\n</Form>\r\n```"},"comment":{"url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/comments/233904625","html_url":"https://github.com/davidkpiano/react-redux-form/issues/322#issuecomment-233904625","issue_url":"https://api.github.com/repos/davidkpiano/react-redux-form/issues/322","id":233904625,"user":{"login":"alexesDev","id":1255344,"avatar_url":"https://avatars.githubusercontent.com/u/1255344?v=3","gravatar_id":"","url":"https://api.github.com/users/alexesDev","html_url":"https://github.com/alexesDev","followers_url":"https://api.github.com/users/alexesDev/followers","following_url":"https://api.github.com/users/alexesDev/following{/other_user}","gists_url":"https://api.github.com/users/alexesDev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexesDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexesDev/subscriptions","organizations_url":"https://api.github.com/users/alexesDev/orgs","repos_url":"https://api.github.com/users/alexesDev/repos","events_url":"https://api.github.com/users/alexesDev/events{/privacy}","received_events_url":"https://api.github.com/users/alexesDev/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T09:53:00Z","updated_at":"2016-07-20T09:53:00Z","body":"Solution\r\n\r\n```js\r\nconst FormComponent = ({ onSubmit, submitProps, children, ...props }) => (\r\n  <View {...props}>\r\n    {children}\r\n     <TouchableOpacity onPress={onSubmit} {...submitProps}>\r\n       <Text>Submit</Text>\r\n     </TouchableOpacity>\r\n  </View>\r\n);\r\n```\r\n\r\n```js\r\n<Form component={FormComponent} validators={validators} ...>\r\n   ...\r\n</Form>\r\n```"}}
{"actor":{"display_login":"alexesDev"}}