Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: onSuccess callback #917

Open
Kushagra-ag opened this issue Oct 23, 2023 · 1 comment
Open

Feature Request: onSuccess callback #917

Kushagra-ag opened this issue Oct 23, 2023 · 1 comment

Comments

@Kushagra-ag
Copy link

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

@Kushagra-ag Kushagra-ag changed the title Feature Request Feature Request: onSuccess callback Oct 23, 2023
@vawn-t
Copy link

vawn-t commented Dec 21, 2023

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants