Highlighting inputs with errors

This commit is contained in:
Francesco
2023-10-10 22:19:56 +02:00
parent 13b45e62b8
commit c17d80514a
5 changed files with 37 additions and 50 deletions

View File

@@ -34,7 +34,7 @@
type="text"
th:value="${value}"
th:name="${name}"
class="form-control " th:id="|__id_${field.getName()}|"
class="form-control" th:id="|__id_${field.getName()}|"
th:classAppend="|${(field.isPrimaryKey() && object != null) ||
(field.isReadOnly() && !create) ? 'disable' : ''}|"