Skip to content

Commit

Permalink
Fix onChangeText (#647)
Browse files Browse the repository at this point in the history
* Fix onChangeText

Pull the onChangeText through the spread, similar to onBlur / onFocus.
  • Loading branch information
jgking2 committed Nov 8, 2020
1 parent 915fce6 commit 6832c88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GooglePlacesAutocomplete.js
Expand Up @@ -743,6 +743,7 @@ export const GooglePlacesAutocomplete = forwardRef((props, ref) => {
let {
onFocus,
onBlur,
onChangeText, // destructuring here stops this being set after onChangeText={_handleChangeText}
clearButtonMode,
InputComp,
...userProps
Expand Down

0 comments on commit 6832c88

Please sign in to comment.