Replies: 1 comment
-
You can use the composition API with const { validate, handleSubmit } = useForm();
// validates the form
validate();
const submit = handleSubmit(values => {
// send values to API
})
// trigger submit
submit(); If you are using the |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i have a verification code input and i want to automatically submit form when user type 4 digit in my input. how can i do that?
how can submit and validate form programically?
Beta Was this translation helpful? Give feedback.
All reactions