react-places-autocomplete
react-places-autocomplete copied to clipboard
feat($module): I added option to pass `onBlur` callback to the input
…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.
Hey @judygab! Thank you for opening a pull request.
Would you mind taking a look at https://github.com/hibiken/react-places-autocomplete/issues/106#issuecomment-496140417.
That should work if you want to provide a handler for blur event on the input element.
Hey @hibiken Thanks! and how would I pass the input value to the onBlur function?