Skip to content

Commit 70d931b

Browse files
authored
Merge pull request #37 from lara-zeus/add-bag
Update quantity.blade.php
2 parents 1a77571 + fbb0eb2 commit 70d931b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

resources/views/quantity.blade.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
66
$hasInlineLabel = $hasInlineLabel();
77
$extraAlpineAttributes = $getExtraAlpineAttributes();
8+
$extraAttributeBag = $getExtraAttributeBag();
89
$id = $getId();
910
$isDisabled = $isDisabled();
1011
$getMaxValue = $getMaxValue();
@@ -94,6 +95,10 @@
9495
:suffix-icon="$suffixIcon"
9596
:suffix-icon-color="$getSuffixIconColor()"
9697
:valid="! $errors->has($getStatePath)"
98+
:attributes="
99+
\Filament\Support\prepare_inherited_attributes($extraAttributeBag)
100+
->class(['fi-fo-text-input'])
101+
"
97102
>
98103
<div class="w-full flex justify-between items-center gap-x-5">
99104
<div class="grow">

0 commit comments

Comments
 (0)