You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like the ability to be able to have a callback function if the request made by the <GooglePlacesAutocomplete /> component is successful. The component already provides onFail callback attribute but I couldn't see any onSuccess callback attribute.
I want to run some analytics logic in the success callback
Describe the solution you'd like
A onSuccess callback attribute exposed by the <GooglePlacesAutocomplete /> component which is triggered on successful request to get the place details matching the string input by the user.
Describe alternatives you've considered
Additional context
I am using version ^2.5.6
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would like the ability to be able to have a callback function if the request made by the
<GooglePlacesAutocomplete />
component is successful. The component already providesonFail
callback attribute but I couldn't see anyonSuccess
callback attribute.I want to run some analytics logic in the success callback
Describe the solution you'd like
A
onSuccess
callback attribute exposed by the<GooglePlacesAutocomplete />
component which is triggered on successful request to get the place details matching the string input by the user.Describe alternatives you've considered
Additional context
I am using version ^2.5.6
The text was updated successfully, but these errors were encountered: