Skip to content
This repository has been archived by the owner on Feb 22, 2021. It is now read-only.

customize input #395

Open
golestanirad opened this issue Jan 1, 2020 · 3 comments
Open

customize input #395

golestanirad opened this issue Jan 1, 2020 · 3 comments

Comments

@golestanirad
Copy link

i love this react wraper for algolia places but i really need customize the input. I need to use an input from material-ui but have the functionality of yours. So is it possiple to do?

@StarpTech
Copy link

I also need to listen to onChange to recognize user values which aren't part of the suggestion. I recommend to just consume the places lib directly. The repo seems not maintained.

@StarpTech
Copy link

StarpTech commented Apr 27, 2020

It definitely makes more sense to put that in a custom hook.

https://gist.github.com/StarpTech/59c7b83b8ad96cfb1c9f8f9855c28537

@kontrollanten
Copy link
Owner

@golestanirad Did you solve your issue? If then you're welcome to create a PR. :)

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

No branches or pull requests

3 participants