Add number restriction to quantity input

This commit is contained in:
benguozakinci@gmail.com 2021-07-30 14:45:09 +03:00
parent b748d44072
commit 5d4fd9f57c

View File

@ -76,7 +76,9 @@
@if (!$hideQuantity)
<div>
@stack('quantity_input_start')
<input type="text"
<input
type="number"
min="0"
class="form-control text-center p-0"
:name="'items.' + index + '.quantity'"
autocomplete="off"