-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing textarea attributes #440
Conversation
Restored parsing of minLength and maxLength for use in input and textarea fields.
@dayre I must have missed this the first time, but why were these attributes added to HiddenField as well? |
@dayre Just in case you're interested, i think the failing tests were due to a new Node 18 bug: nodejs/undici#1433 |
Re the hidden field addtions... my mistake... I was referencing the RFC for minlength/maxlength attributes being used for input and textarea fields. I didn't look at specifically at the section on inputs for type=hidden which does say they must not be specified and do not apply: https://www.w3.org/TR/2014/CR-html5-20140429/forms.html#hidden-state-(type=hidden) |
Removed minLength/maxLength attributes for input type=hidden per RFC
Removed minlength/maxlength from input type=hidden per RFC
lgtm! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
This is the same PR as nodejs/node#439, but applied to the stable version-7.x branch