{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/303","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/303/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/303/events","html_url":"https://github.com/erikras/redux-form/issues/303","id":117849797,"number":303,"title":"Uncaught TypeError: Cannot read property 'text' of null","user":{"login":"slybridges","id":5409148,"avatar_url":"https://avatars.githubusercontent.com/u/5409148?v=3","gravatar_id":"","url":"https://api.github.com/users/slybridges","html_url":"https://github.com/slybridges","followers_url":"https://api.github.com/users/slybridges/followers","following_url":"https://api.github.com/users/slybridges/following{/other_user}","gists_url":"https://api.github.com/users/slybridges/gists{/gist_id}","starred_url":"https://api.github.com/users/slybridges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slybridges/subscriptions","organizations_url":"https://api.github.com/users/slybridges/orgs","repos_url":"https://api.github.com/users/slybridges/repos","events_url":"https://api.github.com/users/slybridges/events{/privacy}","received_events_url":"https://api.github.com/users/slybridges/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-19T16:21:51Z","updated_at":"2015-11-19T16:41:21Z","closed_at":"2015-11-19T16:40:42Z","body":"Hello :wave:\r\n\r\nI'm currently integrating the `DateTimePicker` from [react-widgets](https://github.com/jquense/react-widgets) to `redux-form` in a very standard way but I get this error when the DateTime input field losses focus:\r\n`Uncaught TypeError: Cannot read property 'text' of null`\r\n\r\nIt's coming from https://github.com/erikras/redux-form/blob/master/src/events/getValue.js#L18\r\n```javascript\r\nif (!isReactNative && event.nativeEvent !== undefined && event.nativeEvent.text !== undefined)\r\n```\r\n(Unsure how I ended up there, it's only happening with the `DateTimePicker` widget. I can provide the code I'm running but I don't think this is where the problem comes from.)\r\n\r\nSo, for me, `event.nativeEvent == null` (instead of `undefined`) and `null !== undefined` being `true`, it throws at the next test.\r\n\r\nShouldn't the test ` if (event.nativeEvent !== undefined)` (and the likes) be replaced by `if (!event.nativeEvent)` ?\r\n\r\nCheers!"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/158113181","html_url":"https://github.com/erikras/redux-form/issues/303#issuecomment-158113181","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/303","id":158113181,"user":{"login":"erikras","id":4396759,"avatar_url":"https://avatars.githubusercontent.com/u/4396759?v=3","gravatar_id":"","url":"https://api.github.com/users/erikras","html_url":"https://github.com/erikras","followers_url":"https://api.github.com/users/erikras/followers","following_url":"https://api.github.com/users/erikras/following{/other_user}","gists_url":"https://api.github.com/users/erikras/gists{/gist_id}","starred_url":"https://api.github.com/users/erikras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikras/subscriptions","organizations_url":"https://api.github.com/users/erikras/orgs","repos_url":"https://api.github.com/users/erikras/repos","events_url":"https://api.github.com/users/erikras/events{/privacy}","received_events_url":"https://api.github.com/users/erikras/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T16:41:21Z","updated_at":"2015-11-19T16:41:21Z","body":"Should be fixed in `v3.0.11`."}}