Topic: How to programatically update "Search with select" widget?

bingimar free asked 5 years ago


The title says it all. I need to dynamically update the select form object. What's the best practice?


Piotr Glejzer staff commented 5 years ago

Hi,
You can use AJAX to do that, I think is the best practice when you are working with jQuery.
Best,
Piotr


bingimar free commented 5 years ago

would you then empty the and append more and then run .materialSelect() again or manipulate the ul and li that are generated by .materialSelect()?


Piotr Glejzer staff commented 5 years ago

I don't know exactly how to explain for that cause we don't have an example with MaterialSelect 'updated dynamically'. Did you try an async function for that?



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.6.1
  • Device: Mac
  • Browser: Safari
  • OS: OSX
  • Provided sample code: No
  • Provided link: No