From 92b9333bec7dc9c2237f4d72bcf05681886f6dc7 Mon Sep 17 00:00:00 2001 From: BruCandy <161817534+BruCandy@users.noreply.github.com> Date: Sat, 23 Nov 2024 06:45:30 +0900 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E9=8C=B2=E7=94=BB=E9=9D=A2=E3=81=A7?= =?UTF-8?q?=E8=B5=B7=E3=81=93=E3=82=8B=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20(#69)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/organisms/register/ProductForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/organisms/register/ProductForm.tsx b/app/components/organisms/register/ProductForm.tsx index ce0d459..bd56315 100644 --- a/app/components/organisms/register/ProductForm.tsx +++ b/app/components/organisms/register/ProductForm.tsx @@ -85,7 +85,7 @@ export const ProductForm: FC = ({ }, constraint: getValibotConstraint(schema), lastResult: navigation.state === "idle" ? lastResult : null, - shouldValidate: "onBlur", + shouldValidate: "onInput", shouldRevalidate: "onInput", onValidate: ({ formData }) => parseWithValibot(formData, { schema }), })