관리페이지 설정 폼에서 숫자 입력 항목 필드의 type 을 number 로 변경

음수 및 `0`으로 입력되지 않아야 할 항목에 최소 값을 `0` 또는 `1`로 설정
This commit is contained in:
kkigomi 2024-01-10 00:12:21 +09:00
parent 1a913c3e49
commit 5486ec28e2
No known key found for this signature in database
GPG key ID: 99CF0633E78395B9
6 changed files with 17 additions and 17 deletions

View file

@ -44,7 +44,7 @@
<div class="x_control-group">
<label class="x_control-label" for="search_division">{$lang->cmd_search_division}</label>
<div class="x_controls">
<input type="number" name="search_division" value="{$config->search_division ?? 5000}" />
<input type="number" min="0" name="search_division" value="{$config->search_division ?? 5000}" />
<p class="x_help-block">{$lang->about_search_division}</p>
</div>
</div>