Questions tagged [react-autocomplete]
8 questions
2
votes
4 answers
Render value for no matches found in react-autocomplete
I am using the react-autocomplete npm package to build the autocomplete functionality in my Reactjs app. So far I have been able to render dropdown items that match the user's input, as you see in the documentation of this package. However, I would…

relu
- 333
- 1
- 3
- 18
1
vote
1 answer
React Google Map and React Places Auto Complete: You have included the Google Maps JavaScript API multiple times on this page
I need to include the google map API twice for my 2 components. Because of that, this error occurs You have included the Google Maps JavaScript API multiple times on this page. I can't remove the first google map API link inside index.html because I…

rjc30
- 227
- 4
- 14
0
votes
1 answer
useRef and type on react-autocomplete package is not working
A bit lost here, I am getting the following error on the ref prop of the autocomplete component. Anyone got any idea ? I don't understand why I can't just use a react useRef on this component ?
No overload matches this call.
Overload 1 of 2,…

Kiwimoisi
- 4,086
- 6
- 33
- 64
0
votes
0 answers
Disabling the enter key in the package react-google-autocomplete
I am current using this package Autocomplete. The issue I am currently facing is that whenever I press enter one of the props passed into Autocomplete also runs when you press enter. I have tried adding onSubmit and preventing the default and…

Adrian Ibarra
- 11
- 1
0
votes
0 answers
MUI Autocomplete filter view as user types
What I'm trying to achieve with MUI's React-Autocomplete is what would probably be a typical use case, yet, I can't find any example that illustrates what I'm trying to achieve. And the documentation is lacking IMO.
So, I have this autocomplete…

John Doe
- 1,092
- 3
- 12
- 25
0
votes
1 answer
react hook forms with react google autocomplete not showing selected value on first select
using react hooks form with react google autocomplete. Problem is on first selection, the react google autocomplete does not show the selected value, but just what the user types. Only if you select it the second time then it will say what you…

user3226932
- 2,042
- 6
- 39
- 76
0
votes
0 answers
ReactJS MUI Autocomplete Search from API , setting value on form load not working
I am using ReactJS Autocomplete , where I get options from API . This seems working fine .
Then I save data to DB using react-hook-form .
On page load I get data using API and using SetValues I populate the form. But AutoComplete textInput don't…

asif_ali0869
- 81
- 13
0
votes
1 answer
How to Add hyphen in react-native autocomplete dropdown input value
I'am using react-native-autocomplete-dropdown package for selecting options fetched from an api.
I require that when user type first 6 digits then hyphen(-) automatically should be added after that and user must continue typing after that also…

Asish Prajapati
- 1
- 1