Topic: How to append & hide an option from a select element?
I have a few questions regarding to select element, would be good if these were included in the documentation so we wouldn't look for these:
- How do I append an item to a select element
- How do I hide (not delete, as I need to re-use the option) an option from the select element
Here is a snippet showing how you can add or remove options. https://mdbootstrap.com/snippets/standard/kpienkowska/4238093
You can also disable options that you do not need for specific forms. https://mdbootstrap.com/docs/standard/forms/select/#section-disabled-options
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 4.4.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No