3

Can you recommend an HTML/JS/Bootstrap/JQuery Drop Down Select Menu with Autocomplete that accepts the complete list of options from a single remote REST api request as JSON and does not do remote calls when typing.

  • Do you have control of the server side? – Mawg Feb 27 '18 at 11:54
1

Perform your REST request first, and parse your JSON with JQuery to populate your <select> field.

Finally use any library like chosen to enhanced your field with autocomplete.

Warning: Initialize the plugin ( $(".chosen-select").chosen()) only after having populated it.

This will give exactly the behaviour you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.