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.) https://mdbootstrap.com/snippets/standard/pavelpossiblep/3098235


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: https://mdbootstrap.com/snippets/standard/pavelpossiblep/3098235


Dawid Wajszczuk staff answered 3 years ago


Hi,

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

Keep coding,
Dawid



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

  • 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