-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use with JSON Array? #22
Comments
Hi @reynolds047 ! Like this?
|
Hello, I appreciate the response. I was able to get your example to work, but I was unable to get it working with my custom src. Is it because my keys are strings?
|
Well @reynolds047, I've tested with your code and it is actually working. Maybe you forgot to set the treshold to a lower value? Remember the default is 4, so it will not show anything until you type at least 4 characters. |
I set set the threshold to 2 characters, but keep getting "No results found". If it was working for you, then maybe its a problem with something else in my code. I appreciate the confirmation. I will update you if I get it working, if not for anything but reference for someone in the future. Have a good day, @Honatas ! |
After a lot of frustration, I figured it out, finally. I fixed this by going into |
Oh my, I didn't know jQuery UI already had an autocomplete! Guess I'll have to do something about it. |
I am trying to find a way to use this with JSON arrays containing objects. The docs say you can use any format you want as long as you specify the value and labels, but does not go into any detail on how to do so. Could you elaborate on this?
The text was updated successfully, but these errors were encountered: