How to Hide / Unhide one or multiple options from Select ele


Topic: How to Hide / Unhide one or multiple options from Select element?

asked 2 years ago

How can I hide one or multiple options from select element? or even disable them? I will need to unhide them as well later and don't want to delete the options.


kpienkowska staff answered 2 years ago

You can disable specific options as shown in the example: https://mdbootstrap.com/docs/standard/forms/select/#section-disabled-options


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 6.0.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No