Skip to content

Commit

Permalink
登録画面で起こるバグを修正 (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
BruCandy authored Nov 22, 2024
1 parent 1633073 commit 92b9333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/organisms/register/ProductForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const ProductForm: FC<ProductFormProps> = ({
},
constraint: getValibotConstraint(schema),
lastResult: navigation.state === "idle" ? lastResult : null,
shouldValidate: "onBlur",
shouldValidate: "onInput",
shouldRevalidate: "onInput",
onValidate: ({ formData }) => parseWithValibot(formData, { schema }),
})
Expand Down

0 comments on commit 92b9333

Please sign in to comment.