관리페이지 설정 폼에서 숫자 입력 항목 필드의 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

@ -39,7 +39,7 @@
<div class="x_control-group">
<label class="x_control-label" for="list_count">{$lang->list_count}</label>
<div class="x_controls">
<input type="text" name="list_count" id="list_count" value="{$module_info->list_count?$module_info->list_count:20}" style="width:30px" />
<input type="number" min="1" name="list_count" id="list_count" value="{$module_info->list_count?$module_info->list_count:20}" />
<p class="x_help-inline">{$lang->about_list_count}</p>
</div>
</div>