Topic: How to append & hide an option from a select element?

VIS free asked 1 year ago

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


Kamila Pieńkowska staff answered 1 year ago

Here is a snippet showing how you can add or remove options.

You can also disable options that you do not need for specific forms.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 4.4.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No