Select with selected disabled option is validated as 'v

Topic: Select with selected disabled option is validated as 'valid'

pavelpossiblep asked 8 months ago

Expected behavior

When a disabled option is selected in a validated select it shows that the select is valid. I use this for 'please select an option' default selected option which doesn't prevent form from submitting for some reason.

Actual behavior

Such select should be deemed invalid. It's being validated but gives wrong result.

Resources (screenshots, code snippets etc.)

Dawid Wajszczuk staff commented 8 months ago

Hi. Could you please create a snippet with this bug? It will help a lot. Thanks.

pavelpossiblep commented 8 months ago

Sure! Added a snippet to the main thread:

Dawid Wajszczuk staff answered 8 months ago


Thanks for reporting this and for the snippet. We will try to fix it as soon as possible.

Keep coding,

Please insert min. 20 characters.


Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.5.1
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: Yes