質問編集履歴
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,17 +78,21 @@
|
|
78
78
|
|
79
79
|
<Form.Group as={Col}>
|
80
80
|
|
81
|
+
|
82
|
+
|
81
83
|
<Form.Label>氏名</Form.Label>
|
82
84
|
|
85
|
+
<Form.Control isInvalid={errors.fullName} id="fullName" type="text"
|
86
|
+
|
83
|
-
|
87
|
+
{...register("fullName", {required: "必須項目", maxLength:{value: 20,message:"オーバー"}})} />
|
84
88
|
|
85
89
|
{errors.fullName && <Form.Control.Feedback type="invalid"> { errors.fullName.message} </Form.Control.Feedback>}
|
90
|
+
|
91
|
+
|
86
92
|
|
87
93
|
</Form.Group>
|
88
94
|
|
89
95
|
</Row>
|
90
|
-
|
91
|
-
|
92
96
|
|
93
97
|
<Row className="mb-3">
|
94
98
|
|
@@ -102,7 +106,7 @@
|
|
102
106
|
|
103
107
|
<Form.Control isInvalid={`errors.users.${index}.tokugi`} control={control} type="text"
|
104
108
|
|
105
|
-
{...register(`users.${index}.tokugi`, {required: "必須項目", maxLength:{value: 20,message:"オーバー"}})} />
|
109
|
+
{...register(`users.${index}.tokugi`, {required: "必須項目", maxLength:{value: 20,message:"オーバー"}})} />
|
106
110
|
|
107
111
|
{`errors.users.${index}.tokugi` && <Form.Control.Feedback type="invalid"> { `errors.users.${index}.tokugi.message`} </Form.Control.Feedback>}
|
108
112
|
|