How to use Autocomplete for input field without any map #3196
Unanswered
wahabshah21
asked this question in
Q&A
Replies: 1 comment
-
Okay so somehow it has started working now with LoadScript but now the issue that I am facing is that, after selecting a location form autocomplete it just doesnt display in the input field. What could possibly be happening? The input field is inside a modal window and initially the autocomplete dropdown wasn't displaying too and i had to put z-index to make it work. Could be because of same reason? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, this will sound very basic (I just started working with this) but I have this form where I just have to use autocomplete for places suggestion. How can I use it separately?
I have tried using it with useJsApiLoader hook with api key and places library included in it. But as soon I wrap my input with Autocomplete it gives me error that map initialized multiple times etc. And when I used LoadScript although I added the places api it prompts google in not defined.
My questions are, Can standalone input automcoplete be used with this library? Secondly, if it does which one to be used to load script, LoadScript, UseJsApiLoader or something else?
Beta Was this translation helpful? Give feedback.
All reactions