ONSdigital / design-system

ONS Design System
https://service-manual.ons.gov.uk/design-system
MIT License
28 stars 17 forks source link

Remove `min` and `max` HTML attributes for inputs with type set to "text" #3160

Closed rmccar closed 2 months ago

rmccar commented 2 months ago

After the investigation needed for #3098 I have concluded we need to update any inputs that have the type attribute set to "text" to have the min and max attributes removed. This is because its invalid to set min and max attributes on text type inputs. Those attributes are reserved for number type inputs.