Add number restriction to quantity input
This commit is contained in:
parent
b748d44072
commit
5d4fd9f57c
@ -76,7 +76,9 @@
|
|||||||
@if (!$hideQuantity)
|
@if (!$hideQuantity)
|
||||||
<div>
|
<div>
|
||||||
@stack('quantity_input_start')
|
@stack('quantity_input_start')
|
||||||
<input type="text"
|
<input
|
||||||
|
type="number"
|
||||||
|
min="0"
|
||||||
class="form-control text-center p-0"
|
class="form-control text-center p-0"
|
||||||
:name="'items.' + index + '.quantity'"
|
:name="'items.' + index + '.quantity'"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user