fix: 🚑️ decimal input steps to number inputs
This commit is contained in:
parent
fb23f43f88
commit
6c93343200
2 changed files with 5 additions and 2 deletions
|
@ -66,6 +66,7 @@
|
|||
<label for="price">{{__('Price in')}} {{CREDITS_DISPLAY_NAME}}</label>
|
||||
<input value="{{$product->price ?? old('price')}}" id="price" name="price"
|
||||
type="number"
|
||||
step="0.0001"
|
||||
class="form-control @error('price') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('price')
|
||||
|
|
|
@ -75,8 +75,10 @@
|
|||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="price">{{__('Price in')}} {{ CREDITS_DISPLAY_NAME }}</label>
|
||||
<input value="{{ $product->price }}" id="price" name="price" type="number"
|
||||
<label for="price">{{__('Price in')}} {{CREDITS_DISPLAY_NAME}}</label>
|
||||
<input value="{{$product->price}}" id="price" name="price"
|
||||
type="number"
|
||||
step="0.0001"
|
||||
class="form-control @error('price') is-invalid @enderror"
|
||||
required="required">
|
||||
@error('price')
|
||||
|
|
Loading…
Add table
Reference in a new issue