Topic: how to hide options in mdb-select
Expected behavior
Actual behavior
Resources (screenshots, code snippets etc.)
We have two form selections, we want dynamically hide and show options for the second selection based on the first selection! it works fine without mdb-select. once we added mdb-select (pro). the hide() doesn't work any more, but if you use destroy(), it works fine. we did call $('#code').materialSelect('destroy'); $('#code').materialSelect(); after hide the options wonder what I need do to make hide options works with mdb-select? Thanks,
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.15.0
- Device: PC
- Browser: chome
- OS: windows 10
- Provided sample code: No
- Provided link: No
Grzegorz Bujański staff commented 5 years ago
Hi. It is related to the specification of this component. At the moment it is not possible to solve it in another way.