Topic: change mdb-select option via api
Mirosław Stasiak answered 7 years ago
Hi,
1. First, you have to destroy the select
$('.mdb-select').material_select('destroy');
2. Change option in select with your code
3. Initialize select again
$('.mdb-select').material_select();
Check forum, there were a few same topics.
Regards,
kaduamaral commented 7 years ago
Really? I'm starting to regret buying it! Why haven't listened a change event? OMG!Mikołaj Smoleński staff answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No