{"action":"created","issue":{"url":"https://api.github.com/repos/lawnstarter/react-native-picker-select/issues/112","repository_url":"https://api.github.com/repos/lawnstarter/react-native-picker-select","labels_url":"https://api.github.com/repos/lawnstarter/react-native-picker-select/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/lawnstarter/react-native-picker-select/issues/112/comments","events_url":"https://api.github.com/repos/lawnstarter/react-native-picker-select/issues/112/events","html_url":"https://github.com/lawnstarter/react-native-picker-select/issues/112","id":381953439,"node_id":"MDU6SXNzdWUzODE5NTM0Mzk=","number":112,"title":"onValueChange Event triggers every time render update","user":{"login":"indrsidhu","id":2961038,"node_id":"MDQ6VXNlcjI5NjEwMzg=","avatar_url":"https://avatars3.githubusercontent.com/u/2961038?v=4","gravatar_id":"","url":"https://api.github.com/users/indrsidhu","html_url":"https://github.com/indrsidhu","followers_url":"https://api.github.com/users/indrsidhu/followers","following_url":"https://api.github.com/users/indrsidhu/following{/other_user}","gists_url":"https://api.github.com/users/indrsidhu/gists{/gist_id}","starred_url":"https://api.github.com/users/indrsidhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indrsidhu/subscriptions","organizations_url":"https://api.github.com/users/indrsidhu/orgs","repos_url":"https://api.github.com/users/indrsidhu/repos","events_url":"https://api.github.com/users/indrsidhu/events{/privacy}","received_events_url":"https://api.github.com/users/indrsidhu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-18T11:58:15Z","updated_at":"2018-11-18T13:32:12Z","closed_at":null,"author_association":"NONE","body":"**Describe the bug**\r\nPicker has function prop \"onValueChange\" as per expectation it should work like click event, when ever someone select value, but i found this event execute all the time when render() updates, so it creating problem, because it null my state value.\r\n\r\n**To Reproduce**\r\nonValueChange = { (value) => console.log(\"Event Triggered\"+value)}\r\nMonitor console, it will execute all the time whenever render() update by any state or prop change.\r\n\r\n**Expected behavior**\r\nIt should execute only when we change dropdown value, after pick , not all the time\r\n\r\n**Smartphone (please complete the following information):**\r\n\r\n-   Device: [e.g. iPhone6]\r\n-   OS: [e.g. iOS8.1]\r\n-   react-native-picker-select version: [e.g. 4.3.0]\r\n-   react-native version: [e.g. 0.56]\r\n-   react version: [e.g. 16.3]\r\n\r\n**Reproduction and/or code sample**\r\nIf possible, please provide a link to a reproduction of this issue on https://snack.expo.io and/or a code sample showing your implementation of the library"},"comment":{"url":"https://api.github.com/repos/lawnstarter/react-native-picker-select/issues/comments/439693101","html_url":"https://github.com/lawnstarter/react-native-picker-select/issues/112#issuecomment-439693101","issue_url":"https://api.github.com/repos/lawnstarter/react-native-picker-select/issues/112","id":439693101,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTY5MzEwMQ==","user":{"login":"lfkwtz","id":1746853,"node_id":"MDQ6VXNlcjE3NDY4NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1746853?v=4","gravatar_id":"","url":"https://api.github.com/users/lfkwtz","html_url":"https://github.com/lfkwtz","followers_url":"https://api.github.com/users/lfkwtz/followers","following_url":"https://api.github.com/users/lfkwtz/following{/other_user}","gists_url":"https://api.github.com/users/lfkwtz/gists{/gist_id}","starred_url":"https://api.github.com/users/lfkwtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfkwtz/subscriptions","organizations_url":"https://api.github.com/users/lfkwtz/orgs","repos_url":"https://api.github.com/users/lfkwtz/repos","events_url":"https://api.github.com/users/lfkwtz/events{/privacy}","received_events_url":"https://api.github.com/users/lfkwtz/received_events","type":"User","site_admin":false},"created_at":"2018-11-18T13:32:12Z","updated_at":"2018-11-18T13:32:12Z","author_association":"MEMBER","body":"Please update your bug report with the missing information"}}
{"actor":{"display_login":"lfkwtz"}}