{"action":"closed","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/2951","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/2951/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/2951/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/2951/events","html_url":"https://github.com/erikras/redux-form/issues/2951","id":230350024,"number":2951,"title":"React-Native android, missing value on blur","user":{"login":"deepaksisodiya","id":3258231,"avatar_url":"https://avatars2.githubusercontent.com/u/3258231?v=4","gravatar_id":"","url":"https://api.github.com/users/deepaksisodiya","html_url":"https://github.com/deepaksisodiya","followers_url":"https://api.github.com/users/deepaksisodiya/followers","following_url":"https://api.github.com/users/deepaksisodiya/following{/other_user}","gists_url":"https://api.github.com/users/deepaksisodiya/gists{/gist_id}","starred_url":"https://api.github.com/users/deepaksisodiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepaksisodiya/subscriptions","organizations_url":"https://api.github.com/users/deepaksisodiya/orgs","repos_url":"https://api.github.com/users/deepaksisodiya/repos","events_url":"https://api.github.com/users/deepaksisodiya/events{/privacy}","received_events_url":"https://api.github.com/users/deepaksisodiya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-22T10:21:39Z","updated_at":"2017-12-06T23:27:49Z","closed_at":"2017-12-06T23:27:49Z","author_association":"NONE","body":"### Are you submitting a **bug report** or a **feature request**?\r\nBug report\r\n\r\n### What is the current behavior?\r\nI am using Redux-Form 6.5.0 with React Native 0.5.18.\r\nIn mobile application, I am using Async Blur Validation\r\nhttp://redux-form.com/6.7.0/examples/asyncValidation/\r\n\r\nFor Example, Below is the Async Blur Validation function. \r\n\r\n```\r\nconst asyncValidate = (values) => {\r\n  // values.emailId is undefined (in case of Android)\r\n  // values.emailId has some value (in case of IOS)\r\n  })\r\n}\r\n```\r\nI am getting value in case of IOS devices but not for Android devices.\r\n\r\n### What is the expected behavior?\r\nI should get value in case of Android devices also.\r\n\r\n### What's your environment?\r\nRedux-Form 6.5.0\r\nReact Native 0.5.18.\r\n\r\n### Other information\r\nMy workaround\r\n\r\n```\r\nfunction asyncValidate(values, dispatch, props) {\r\n  const errors = {};\r\n  let emailId;\r\n  if (!values.emailId) {\r\n    // on Android, the values object somehow has emailId as undefined\r\n    emailId = props.values.emailId;\r\n  } else {\r\n    emailId = values.emailId;\r\n  }\r\n \r\n  return errors;\r\n}\r\n\r\n\r\n```\r\nhttps://github.com/erikras/redux-form/issues/80\r\nhttps://github.com/erikras/redux-form/issues/2073"}}
{"actor":{"display_login":"gustavohenke"}}