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
this thread int the forums got me curious. Apparently by manually setting the required HTML5 attribute, you can shoot yourself in the foot: the requiredsetting will no longer be settable, messing up validation.
When called on to change the requiredsetting, both methods first check if an attribute by that name exists, set the attribute and early-return.
I believe the methods should exclude required from the attribute check, especially since required() is explicitly mentioned as a method in the docs (line 118). But presumably similar issues can arise with other attributes, too.