This commit is contained in:
Anthony Stirling 2025-03-20 00:09:04 +00:00
parent f97f1d792d
commit 540f6c6320

View File

@ -235,7 +235,7 @@
<input type="file" class="form-control" <input type="file" class="form-control"
th:name="${name}" th:name="${name}"
th:id="${name}+'-input'" th:id="${name}+'-input'"
th:accept="${accept != null && accept != '*/*' ? accept + ',.zip' : (accept != null ? accept : '*/*')}" th:accept="${accept == null ? '*/*': ((accept == '*/*') ? accept : (accept + ',.zip'))}
th:attr="multiple=${!disableMultipleFiles}" th:attr="multiple=${!disableMultipleFiles}"
th:required="${notRequired} ? null : 'required'"> th:required="${notRequired} ? null : 'required'">
Browse Browse