Skip to content

Commit

Permalink
Merge pull request #840 from tonibardina/fix/send_event_object_onblur
Browse files Browse the repository at this point in the history
Added event object to `onBlur` and `onFocus` method sent through `textInputProps`
  • Loading branch information
ashuvssut authored Sep 19, 2022
2 parents debbd20 + 88fd9c4 commit 3c57bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GooglePlacesAutocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,15 +822,15 @@ export const GooglePlacesAutocomplete = forwardRef((props, ref) => {
onFocus
? () => {
_onFocus();
onFocus();
onFocus(e);
}
: _onFocus
}
onBlur={
onBlur
? (e) => {
_onBlur(e);
onBlur();
onBlur(e);
}
: _onBlur
}
Expand Down

0 comments on commit 3c57bb6

Please sign in to comment.