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

pavelpossiblep free asked 3 years 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 3 years ago

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

pavelpossiblep free commented 3 years ago

Sure! Added a snippet to the main thread:

Dawid Wajszczuk staff answered 3 years 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.


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 3.5.1
  • Device: any
  • Browser: any
  • OS: any
  • Provided sample code: No
  • Provided link: Yes