Topic: Adding options to mdb-select using jQuery
gobrien@bluelineinnovations.com
pro asked 4 years ago
Open
- User: Pro
- Premium support: No
- Technology: jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Mirosław Stasiak commented 4 years ago
If you want to dynamically change the data in select, you need to use the method $('.mdb-select').material_select('destroy'); Then update the data and initialize select again $('.mdb-select').material_select();