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
Could you set it so that built-in form validation can be used fully? For now it is awkward to be able to set a pattern or other constrains but that the component built-in validity is always true if no value is set.
The text was updated successfully, but these errors were encountered:
aria-required communicates the same message to screen readers as required, but avoids browser's default validation messages. (which we'd like to do in favor of validation messages from Primer)
Example of default browser validation message and Primer's validation message:
When setting
required
toTextInput
it is not set to theinput
element - only on the aria attribute:react/packages/react/src/TextInput/TextInput.tsx
Line 149 in 254e289
Could you set it so that built-in form validation can be used fully? For now it is awkward to be able to set a pattern or other constrains but that the component built-in validity is always true if no value is set.
The text was updated successfully, but these errors were encountered: