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

feat($module): I added option to pass onBlur callback to the input #272

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

judygab
Copy link

@judygab judygab commented May 30, 2019

…element of PlacesAutocomplete.

User can pass onBlur as props to PlacesAutocomplete instance and modify what happens when the
searchbox is out of focus. For example, I needed to capture the input if user didn't select one of the options from the list provided in a dropdown menu.

#260, #51

I made sure that my branch is from master, tests are running and commited using npm.

…element of PlacesAutocomplete.

User can pass onBlur as props to PlacesAutocomplete instance and modify what happens when the
searchbox is out of focus. For example, I needed to capture the input if user didn't select one o

hibiken#260, hibiken#51
@hibiken
Copy link
Owner

hibiken commented Jun 3, 2019

Hey @judygab! Thank you for opening a pull request.

Would you mind taking a look at #106 (comment).

That should work if you want to provide a handler for blur event on the input element.

@judygab
Copy link
Author

judygab commented Jun 5, 2019

Hey @hibiken Thanks! and how would I pass the input value to the onBlur function?

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

Successfully merging this pull request may close these issues.

None yet

3 participants