Skip to content

Commit

Permalink
Merge pull request #853 from Willham12/patch-1
Browse files Browse the repository at this point in the history
fixed event object for onFocus method in textInputProps
  • Loading branch information
ashuvssut authored Nov 2, 2022
2 parents 23334b1 + 909b5d2 commit fb9d70b
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 @@ -820,7 +820,7 @@ export const GooglePlacesAutocomplete = forwardRef((props, ref) => {
placeholder={props.placeholder}
onFocus={
onFocus
? () => {
? (e) => {
_onFocus();
onFocus(e);
}
Expand Down

0 comments on commit fb9d70b

Please sign in to comment.