Topic: Material select
Boris Akimenko pro asked 5 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/
Piotr Glejzer staff answered 5 years ago
Did you try use something like this?
$('.your-class or #id').materialSelect('destroy');
$('.your-class or #id').materialSelect();
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: 4.7.4
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: Yes