[FIX] 目標金額が現在所持金より低かった場合、エラーを表示するように修正しました。

This commit is contained in:
s-choi
2026-09-28 11:45:23 +09:00
parent e5af64b53b
commit 34172aecc9
4 changed files with 56 additions and 7 deletions

View File

@@ -37,6 +37,10 @@
<div>
<label>目標金額</label>
<input type="number" th:field="*{targetAmount}" required min="1">
<span th:text="|所持金:${currentAmount}円|"></span>
<span th:if="${message != null}">
<span th:text="${message}" style="color: red;"></span>
</span>
</div>
<div>