From 909b5d2ef6720a7db95b9d22f25c79d03e422143 Mon Sep 17 00:00:00 2001 From: Willham12 <87827270+Willham12@users.noreply.github.com> Date: Wed, 2 Nov 2022 05:41:24 +0100 Subject: [PATCH] fixed event object for onFocus method in textInputProps --- GooglePlacesAutocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GooglePlacesAutocomplete.js b/GooglePlacesAutocomplete.js index 7f30848..9449f8d 100644 --- a/GooglePlacesAutocomplete.js +++ b/GooglePlacesAutocomplete.js @@ -819,7 +819,7 @@ export const GooglePlacesAutocomplete = forwardRef((props, ref) => { placeholder={props.placeholder} onFocus={ onFocus - ? () => { + ? (e) => { _onFocus(); onFocus(e); }