diff --git a/components/TempDesignSystem/Form/Phone/index.tsx b/components/TempDesignSystem/Form/Phone/index.tsx index d09598296..d27e31986 100644 --- a/components/TempDesignSystem/Form/Phone/index.tsx +++ b/components/TempDesignSystem/Form/Phone/index.tsx @@ -37,7 +37,7 @@ export default function Phone({ }, }: PhoneProps) { const { formatMessage } = useIntl() - const { control, setValue } = useFormContext() + const { control, setValue, trigger } = useFormContext() const phone = useWatch({ name }) const { field, fieldState, formState } = useController({ @@ -59,6 +59,7 @@ export default function Phone({ value: phone, onChange: (value) => { setValue(name, value.phone) + trigger(name) }, })