{"action":"created","issue":{"url":"https://api.github.com/repos/FaridSafi/react-native-google-places-autocomplete/issues/165","repository_url":"https://api.github.com/repos/FaridSafi/react-native-google-places-autocomplete","labels_url":"https://api.github.com/repos/FaridSafi/react-native-google-places-autocomplete/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/FaridSafi/react-native-google-places-autocomplete/issues/165/comments","events_url":"https://api.github.com/repos/FaridSafi/react-native-google-places-autocomplete/issues/165/events","html_url":"https://github.com/FaridSafi/react-native-google-places-autocomplete/issues/165","id":236513406,"number":165,"title":"OnChangeText","user":{"login":"eyalabadi98","id":3536706,"avatar_url":"https://avatars1.githubusercontent.com/u/3536706?v=3","gravatar_id":"","url":"https://api.github.com/users/eyalabadi98","html_url":"https://github.com/eyalabadi98","followers_url":"https://api.github.com/users/eyalabadi98/followers","following_url":"https://api.github.com/users/eyalabadi98/following{/other_user}","gists_url":"https://api.github.com/users/eyalabadi98/gists{/gist_id}","starred_url":"https://api.github.com/users/eyalabadi98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyalabadi98/subscriptions","organizations_url":"https://api.github.com/users/eyalabadi98/orgs","repos_url":"https://api.github.com/users/eyalabadi98/repos","events_url":"https://api.github.com/users/eyalabadi98/events{/privacy}","received_events_url":"https://api.github.com/users/eyalabadi98/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-16T15:16:45Z","updated_at":"2017-06-26T17:45:40Z","closed_at":null,"body":"Hello, \r\n\r\nI am using redux with your Autocomplete component, and I'm looking for a prop, just like in InputText, that allows me to set the value and a prop that tells me when text has changed.\r\n\r\nI am trying to pass this on my view:\r\nonChangeText={endGoogle => this.props.DriverAddForm({ prop: 'endGoogle', value: endGoogle })}\r\n\r\nbut it is not getting triggered. How can I make this work? onPress is not working either\r\n\r\nHere is my code:\r\n`<GoogleAutoComplete\r\n            //placeholder='Start'\r\n            placeHol=\"End\"\r\n            minLength={2}\r\n            autoFocus={false}\r\n            returnKeyType={'default'}\r\n            fetchDetails\r\n            onChangeText={endGoogle => this.props.DriverAddForm({ prop: 'endGoogle', value: endGoogle })}\r\n            value={this.props.endGoogle}\r\n            onPress={(data, details = null) => { // 'details' is provided when fetchDetails = true\r\n                console.log('data is +' + data.formatted_address);\r\n                //console.log('details is')\r\n                \r\n                }} />`\r\n\r\nand I have a component called GoogleAutoComplete which has the example code plus  onChangeText={this.onChangeText}\r\n\r\nThank you\r\n"},"comment":{"url":"https://api.github.com/repos/FaridSafi/react-native-google-places-autocomplete/issues/comments/311131291","html_url":"https://github.com/FaridSafi/react-native-google-places-autocomplete/issues/165#issuecomment-311131291","issue_url":"https://api.github.com/repos/FaridSafi/react-native-google-places-autocomplete/issues/165","id":311131291,"user":{"login":"eyalabadi98","id":3536706,"avatar_url":"https://avatars1.githubusercontent.com/u/3536706?v=3","gravatar_id":"","url":"https://api.github.com/users/eyalabadi98","html_url":"https://github.com/eyalabadi98","followers_url":"https://api.github.com/users/eyalabadi98/followers","following_url":"https://api.github.com/users/eyalabadi98/following{/other_user}","gists_url":"https://api.github.com/users/eyalabadi98/gists{/gist_id}","starred_url":"https://api.github.com/users/eyalabadi98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyalabadi98/subscriptions","organizations_url":"https://api.github.com/users/eyalabadi98/orgs","repos_url":"https://api.github.com/users/eyalabadi98/repos","events_url":"https://api.github.com/users/eyalabadi98/events{/privacy}","received_events_url":"https://api.github.com/users/eyalabadi98/received_events","type":"User","site_admin":false},"created_at":"2017-06-26T17:45:40Z","updated_at":"2017-06-26T17:45:40Z","body":"Yeah, I did  \r\n`onPress={(value) => this.props.DriverAddForm({ prop: 'stopOverGoogle', value: value.description })}`"}}
{"actor":{"display_login":"eyalabadi98"}}