-
Notifications
You must be signed in to change notification settings - Fork 470
Open
Description
Seems like there's a problem using HTML5 required attribute on a switchery checkbox. If you use it and submit the form, instead of a nice HTML5 required popup - you'll get JS error:
An invalid form control with name='xxx' is not focusable.
I believe that's the browser trying to show the original (now hidden) checkbox as required... and moving focus to it. Possible to fix this somehow in the library code?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels