Replies: 1 comment
-
What have you tried and didn't work? You can do the following: const { handleBlur, validate, value } = useField('someField')
// bind this to your input
async function onBlur() {
handleBlur();
const result = await validate();
if (result.valid) {
// submit to server
}
} |
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.
-
Looking to submit single field custom input using
useField
after validation when focus has left input. Any suggestions?Beta Was this translation helpful? Give feedback.
All reactions