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
Field attribute when set to required, the corresponding HTML input is not marked "required".
If I mark my field as required and I want to add HTML default validation, the input element does not have the required attribute. Do you know if this is expected? The expectation is that if I mark the field attribute as required, the input element should also have the "required " attribute.
email=Field.email(
required=True,
after=1
),
The text was updated successfully, but these errors were encountered:
Looking at this now and it seems like required as a CSS class isn't set in the default style at all, but is mentioned in the docs. I'm not sure what the reasonable approach is here....
Field attribute when set to required, the corresponding HTML input is not marked "required".
If I mark my field as required and I want to add HTML default validation, the input element does not have the required attribute. Do you know if this is expected? The expectation is that if I mark the field attribute as required, the input element should also have the "required " attribute.
The text was updated successfully, but these errors were encountered: