Topic: change mdb-select option via api
                  
                  ebebendel
                  pro
                  asked 8 years ago
                
                      
                      Mikołaj Smoleński
                      staff
                        answered 7 years ago
                    
                      
                      Mirosław Stasiak
                      free
                        answered 8 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 free commented 8 years ago
Really? I'm starting to regret buying it! Why haven't listened a change event? OMG!FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
 - Premium support: No
 - Technology: MDB jQuery
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: No
 - Provided link: No