useTextField hook blocking native html validation on input when require=true #9204
samyakbhaleraogv
started this conversation in
General
Replies: 1 comment
-
|
Can you please provide a codesandbox or stackblitz I think you're talking about things around https://react-spectrum.adobe.com/react-aria/forms.html#customizing-error-messages but it'd be helpful to have an example to look at with "this is what I expect" and "this is what I see" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was creating form using Form component from react-aria-components and custom input component wrapped with useTextField hook. When I submit form using submit button and do not enter any value prior or focus in required input field. After clicking submit I notice first invalid (required) field is in focus but native html validation message of 'Please enter missing value' popup is not visible.
Beta Was this translation helpful? Give feedback.
All reactions