Skip to content

Commit

Permalink
fixed event object for onFocus method in textInputProps
Browse files Browse the repository at this point in the history
  • Loading branch information
Willham12 authored Nov 2, 2022
1 parent 88fd9c4 commit 909b5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GooglePlacesAutocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ export const GooglePlacesAutocomplete = forwardRef((props, ref) => {
placeholder={props.placeholder}
onFocus={
onFocus
? () => {
? (e) => {
_onFocus();
onFocus(e);
}
Expand Down

0 comments on commit 909b5d2

Please sign in to comment.