Skip to content

Commit 9dfc677

Browse files
authored
Merge pull request #10 from lara-zeus/set-max-999999
set max to 999999
2 parents 3183b40 + b71201d commit 9dfc677

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/views/quantity.blade.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</x-slot>
3636

3737
<div
38-
{{-- you're more than welocm to refactor this agully code to use alpine async --}}
38+
{{-- you're more than welocm to refactor this ugly code to use alpine async --}}
3939
{{--ax-load-src="{{ \Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('quantity','lara-zeus/quantity') }}"
4040
ax-load
4141
x-data="quantityPlugin({
@@ -48,8 +48,8 @@
4848

4949
x-data="{
5050
state: $wire.$entangle('{{ $getStatePath }}'),
51-
maxValue: {{ $getMaxValue ?? '0' }},
52-
minValue: {{ $getMinValue ?? '0' }},
51+
maxValue: {{ $getMaxValue ?? 999999 }},
52+
minValue: {{ $getMinValue ?? 0 }},
5353
isDecrementAllowed: true,
5454
isIncrementAllowed: true,
5555
increment() {

0 commit comments

Comments
 (0)