Giners / mui-places-autocomplete

Google Material Design (Material-UI) styled React component using Google Maps Places Autocomplete
MIT License
34 stars 26 forks source link

New: Fire callback when suggestion selected (fixes #17) #18

Closed Giners closed 6 years ago

Giners commented 6 years ago

This PR is to implement functionality as documented in #17. We are providing a callback for when a suggestion is clicked on by the user. It ought to have been implemented before we released but it slipped my mind. Everyone that has been downloading/cloning <MUIPlacesAutocomplete> have had a useless component unless they modified it themselves. But now it ought to be useful enough for use.