Topic: Secondary initialize "mdb-select" is possible
Boris Akimenko pro asked 7 years ago
Mikołaj Smoleński staff answered 7 years ago
Boris Akimenko pro commented 6 years ago
This is not good if I try to initialize a several new elements.
Mikołaj Smoleński staff commented 6 years ago
What about the below solution? Best regards
Alex Gotardi pro answered 7 years ago
// Material Select Destroy $('.mdb-select').material_select('destroy');
Mikołaj Smoleński staff commented 7 years ago
Thanks for sharing Your solution!Boris Akimenko pro commented 6 years ago
Thank you Alex! But destroy is not good way as you say :) Init function must check selects by class which added when it initializedMikołaj Smoleński staff commented 6 years ago
Boris, is Alex solution working in Your project?FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No