You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code was working as expected for iOS however when I went to test on Android the textbox was getting cleared out immediately after selecting a location from the list. The issue disappears whenever I remove setting the value in textInputProps. However even then when I try to read the location in the frontend, it returns an empty string. (Video attached below). I think it may be related to #647 (comment), specifically this part:
There's also a weird thing with the onChangeText firing immediately with an empty string, but that is probably for a reason, and we can work around that!
but that's just a guess on my part
Reproduction - (required - issue will be closed without this)
I created a snack but it doesn't seem to be doing it there, not sure why. The only difference between the snack and my code is that in my code, the places-autocomplete is a component with props sent in.
Additional context
Library Version: [e.g. 1.4.2]
React Native Version: [e.g. 0.62.2]
iOS
Android
Web
If you are using expo please indicate here:
I am using expo
Add any other context about the problem here, screenshots etc
The text was updated successfully, but these errors were encountered:
Describe the bug
Code was working as expected for iOS however when I went to test on Android the textbox was getting cleared out immediately after selecting a location from the list. The issue disappears whenever I remove setting the
value
intextInputProps
. However even then when I try to read the location in the frontend, it returns an empty string. (Video attached below). I think it may be related to #647 (comment), specifically this part:but that's just a guess on my part
Reproduction - (required - issue will be closed without this)
I created a snack but it doesn't seem to be doing it there, not sure why. The only difference between the snack and my code is that in my code, the places-autocomplete is a component with props sent in.
Additional context
Library Version: [e.g. 1.4.2]
React Native Version: [e.g. 0.62.2]
iOS
Android
Web
If you are using expo please indicate here:
Add any other context about the problem here, screenshots etc
The text was updated successfully, but these errors were encountered: