This commit is contained in:
Jottyfan
2023-04-03 20:24:13 +02:00
parent c4f81c425b
commit 45e6c4cbd4
12 changed files with 160 additions and 116 deletions

View File

@ -35,7 +35,7 @@
</div>
<div class="col-sm-6 rowdist">
<span class="error" th:each="error : ${#fields.errors('birthDate')}">[[${error}]]<br /></span>
<input type="date" placeholder="Geburtsdatum" th:field="*{birthDate}" th:class="${'form-control ' + (#fields.hasErrors('birthDate') ? 'inputerror' : '')}" />
<input type="date" placeholder="Geburtsdatum" th:field="*{birthDate}" th:class="${'form-control ' + (#fields.hasErrors('birthDate') ? 'inputerror' : '')}" onfocus="this.type = 'date'" onblur="this.type = 'text'" />
</div>
</div>
<div class="row">