-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Can we do AJAX search in Select filter input? #1951
Comments
@olton could you confirm me on this? |
Please, take a look at this: #1967 If approved, it will allow you load a JSON into the select. I’m cooking search from remote source… Maybe next week I’ll be able to send the pull to approval. |
I have some comments about the code, I'll try to provide a review today. |
I’m trying to fetch only what’s typed by user. I got a very big select to show (about 980k lines). We are considering dynamically generated JSON. So user will type something, let’s say, the name of the person. Then the fetch process fetch only the matched name. I’m thinking adding 2 new options : fetchOnType minFetchLenght Also, creating a new function… _fetchAndLoad to handle this news attributes. I do believe it’s a great addition for the framework. Will do my best (but JS it’s not my best quality, as you can confirm with my last pull, but I do things work) Best regards. Evandro |
The current documentation mentions about dynamically putting the options, but there is no way to get the text in the search input box, which is essential to populate the result.
The text was updated successfully, but these errors were encountered: