Skip to content

Commit

Permalink
Update validate on blur story example
Browse files Browse the repository at this point in the history
  • Loading branch information
webblocksapp committed Mar 26, 2024
1 parent 145099f commit 3770882
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const schema = z.object({

export const ValidateOnZodImpl: Component = () => {
const formHandler = useFormHandler(zodSchema(schema), {
validateOn: ['input'],
validateOn: ['blur'],
});
const { formData } = formHandler;

Expand Down

0 comments on commit 3770882

Please sign in to comment.