Skip to content

Commit b9f1f3e

Browse files
committed
inputフィールドを必須にする
1 parent 06fe5a9 commit b9f1f3e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/pages/user/signup.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,24 @@
44
<dl>
55
<dt class="SignUp-ItemTitle">お名前(表示名)</dt>
66
<dd>
7-
<input-field label="name" placeholder="山田花子" />
7+
<input-field label="name" placeholder="山田花子" require />
88
</dd>
99
<dt class="SignUp-ItemTitle">メールアドレス</dt>
1010
<dd>
1111
<input-field
1212
label="email"
1313
placeholder="[email protected]"
1414
type="email"
15+
require
1516
/>
1617
</dd>
1718
<dt class="SignUp-ItemTitle">パスワード</dt>
1819
<dd>
19-
<input-field label="password" type="password" />
20+
<input-field label="password" type="password" require />
2021
</dd>
2122
<dt class="SignUp-ItemTitle">パスワード(確認用)</dt>
2223
<dd>
23-
<input-field label="confirmation" type="password" />
24+
<input-field label="confirmation" type="password" require />
2425
</dd>
2526
</dl>
2627
</template>

0 commit comments

Comments
 (0)