[FIX] カテゴリー登録の際、カテゴリー名と収支区分の入力を必須にしました。
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="categoryName">カテゴリ名</label>
|
||||
|
||||
<input class="form-control" type="text" id="categoryName" th:field="*{categoryName}">
|
||||
<input class="form-control" type="text" id="categoryName" th:field="*{categoryName}" required>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
@@ -33,7 +33,7 @@
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="transactionType">収入・支出</label>
|
||||
|
||||
<select class="form-select" id="transactionType" th:field="*{transactionType}">
|
||||
<select class="form-select" id="transactionType" th:field="*{transactionType}" required>
|
||||
|
||||
<option value="">選択してください</option>
|
||||
<option value="0">支出</option>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="categoryName">カテゴリ名</label>
|
||||
|
||||
<input class="form-control" type="text" id="categoryName" th:field="*{categoryName}">
|
||||
<input class="form-control" type="text" id="categoryName" th:field="*{categoryName}" required>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
@@ -33,7 +33,7 @@
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="transactionType">収入・支出</label>
|
||||
|
||||
<select class="form-select" id="transactionType" th:field="*{transactionType}">
|
||||
<select class="form-select" id="transactionType" th:field="*{transactionType}" required>
|
||||
|
||||
<option value="">選択してください</option>
|
||||
<option value="0">支出</option>
|
||||
|
||||
Reference in New Issue
Block a user