Skip to content

Commit 51c74c9

Browse files
committed
support extra attributes
1 parent c804608 commit 51c74c9

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();
@@ -98,6 +99,10 @@
9899
:suffix-icon="$suffixIcon"
99100
:suffix-icon-color="$getSuffixIconColor()"
100101
:valid="! $errors->has($getStatePath)"
102+
:attributes="
103+
\Filament\Support\prepare_inherited_attributes($extraAttributeBag)
104+
->class(['fi-fo-text-input'])
105+
"
101106
>
102107
<div class="w-full flex justify-between items-center gap-x-5">
103108
<div class="grow">

0 commit comments

Comments
 (0)