Skip to content
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

How to trigger an input change event when clearIfNoMatch is set to false #279

Open
Yoadd opened this issue May 20, 2021 · 0 comments
Open

Comments

@Yoadd
Copy link

Yoadd commented May 20, 2021

I would like to dynamically insert options into my select element but the options need to be filtered on the server first.

So each time the user click a key , an ajax call is sent with the corresponding text.

I would like to know how to set an Input change event so that I may call ajax.

Something like:

$('#selectId').on('input', function (ev) { // call ajax here })

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

No branches or pull requests

1 participant