Topic: how to refresh Material Select after selecting value by jquery
How to refresh value after setting value by jquery https://mdbootstrap.com/docs/jquery/forms/select/#searchable-with-label
sansoft answered 5 years ago
Not working, Check console in below screenshot. I m using select #searchable-with-label
MDBootstrap staff pro premium priority commented 5 years ago
Hi sansoft, On Monday we plan to ship the improved version of a material selected. I think that these improvements will help you in your development process.
Best Regards, Piotr
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.10
- Device: Laptop
- Browser: Mozilla
- OS: Windows
- Provided sample code: No
- Provided link: Yes
MDBootstrap staff pro premium priority commented 5 years ago
Hi, sansoft If you want to refresh render of material select use attribute destroy: true in 2nd initialization. If you want to simply pick the option with jQuery from the select simple .val(value) method will put the value inside of the select.
If you need additional help We are here for you.
Best Regards, Piotr