You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've implemented this in a project, but when I wanted to add validation to a form field using NiceSelect2, it turned out that the required attribute from the input isn't implemented in a way that makes the input validatable.
The "required" is kept on the original select, which is hidden, which in turn causes the following error when the form is submitted:
An invalid form control with name='customer[note][Veterinarian]' is not focusable.
It would be great if this library implemented this (baseline feature of HTML) in some way!
The text was updated successfully, but these errors were encountered:
I've implemented this in a project, but when I wanted to add validation to a form field using NiceSelect2, it turned out that the required attribute from the input isn't implemented in a way that makes the input validatable.
The "required" is kept on the original select, which is hidden, which in turn causes the following error when the form is submitted:
An invalid form control with name='customer[note][Veterinarian]' is not focusable.
It would be great if this library implemented this (baseline feature of HTML) in some way!
The text was updated successfully, but these errors were encountered: