From c735750018e1def9ef80769329260f3e12563c59 Mon Sep 17 00:00:00 2001
From: Beier Luo
Date: 2022年10月29日 11:43:30 +1100
Subject: [PATCH] missing p tag
---
src/components/UseForm.tsx | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/components/UseForm.tsx b/src/components/UseForm.tsx
index 9068fb883..4ba9c518a 100644
--- a/src/components/UseForm.tsx
+++ b/src/components/UseForm.tsx
@@ -354,13 +354,17 @@ const { register } = useForm({
-
- Only works with onSubmit and onChange mode due to{" "}
-
reportValidity
execution will focus on the error
- input.
+
+ Only works with onSubmit and onChange mode due to{" "}
+ reportValidity
execution will focus on the error
+ input.
+
-
- Each registered field's validation message is required to be
- string to display them natively.
+
+ Each registered field's validation message is required to be
+ string to display them natively.
+
-