Topic: select - doesn't work with display classes
coinsbee premium asked 2 years ago
Expected behavior
Bootstrap has classes to hide/show on different breakpoints. For Example class .d-lg-none
hides the element on lg breakpoint.
Classes to hide select should hide select.
Actual behavior
The select is rendered also if such a class is set. The select is still visible. So it's not possible to hide/show select on different breakpoints.
Grzegorz Bujański staff answered 2 years ago
At the moment, the only solution is to add a container with display classes. I'll add this to our to-do list.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Premium
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 4.1.0
- Device: Desktop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: Yes
- Provided link: No
coinsbee premium commented 2 years ago
Current solution: add container with display class instead of adding display class to select