Skip to content

Commit

Permalink
Merge pull request #10 from lara-zeus/set-max-999999
Browse files Browse the repository at this point in the history
set max to 999999
  • Loading branch information
atmonshi authored Apr 21, 2024
2 parents 3183b40 + b71201d commit 9dfc677
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/views/quantity.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</x-slot>

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

x-data="{
state: $wire.$entangle('{{ $getStatePath }}'),
maxValue: {{ $getMaxValue ?? '0' }},
minValue: {{ $getMinValue ?? '0' }},
maxValue: {{ $getMaxValue ?? 999999 }},
minValue: {{ $getMinValue ?? 0 }},
isDecrementAllowed: true,
isIncrementAllowed: true,
increment() {
Expand Down

0 comments on commit 9dfc677

Please sign in to comment.