mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-08-10 05:51:13 +00:00
Removed custom oninvalid handling and marked required fields in UI
This commit is contained in:
@@ -96,8 +96,7 @@
|
||||
th:classAppend="${field.isPrimaryKey() && object != null ? 'disable' : ''}"
|
||||
th:required="${!field.isNullable() && !field.isPrimaryKey()}"
|
||||
step="any"
|
||||
oninvalid="this.setCustomValidity('This field is not nullable.')"
|
||||
oninput="this.setCustomValidity('')">
|
||||
>
|
||||
</th:block>
|
||||
<button class="ui-btn btn btn-primary"><i class="bi bi-search text-white"></i></button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user