Topic: Material select
Boris Akimenko
pro asked 2 years ago
Expected behavior*Secondary initialization will not takes effect on already initialized selectors.*Actual behavior*Secondary initialization takes effect on already initialized selectors and generates double views on the same selectors.*Resources (screenshots, code snippets etc.)http://joxi.ru/GrqWbLlHQey0R2http://joxi.ru/nAyO0qpTYxGDVm
This is update of https://mdbootstrap.com/support/jquery/secondary-initialize-mdb-select-is-possible/
cdenby
pro answered 2 years ago
Sebastian Kaczmarek
staff pro premium answered 2 years ago
Piotr Glejzer
staff answered 2 years ago
Did you try use something like this?
$('.your-class or #id').materialSelect('destroy');
$('.your-class or #id').materialSelect();
Answered
- User: Pro
- Premium support: No
- Technology: jQuery
- MDB Version: 4.7.4
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: Yes