File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 33 $suffixLabel = $getSuffixLabel ();
44 $prefixIcon = $getPrefixIcon ();
55 $suffixIcon = $getSuffixIcon ();
6+ $prefixActions = $getPrefixActions ();
7+ $suffixActions = $getSuffixActions ();
68@endphp
79
810<x-dynamic-component :component =" $getFieldWrapperView()" :field =" $field" >
4749 :prefix-icon =" $prefixIcon"
4850 :suffix-icon =" $suffixIcon"
4951 :disabled =" $isDisabled()"
52+ :prefix-actions =" $prefixActions"
53+ :suffix-actions =" $suffixActions"
5054 >
5155 <div x-ref =" tree" ></div >
5256 </x-filament::input .wrapper >
Original file line number Diff line number Diff line change 55use Closure ;
66use Filament \Forms \Components \Concerns \CanBeDisabled ;
77use Filament \Forms \Components \Concerns \CanBeSearchable ;
8+ use Filament \Forms \Components \Concerns \HasActions ;
89use Filament \Forms \Components \Concerns \HasAffixes ;
910use Filament \Forms \Components \Concerns \HasPlaceholder ;
11+ use Filament \Forms \Components \Contracts \HasAffixActions ;
1012use Filament \Forms \Components \Field ;
1113use Illuminate \Database \Eloquent \Relations \BelongsTo ;
1214use Illuminate \Database \Eloquent \Relations \BelongsToMany ;
1315use Illuminate \Support \Collection ;
1416
15- class SelectTree extends Field
17+ class SelectTree extends Field implements HasAffixActions
1618{
1719 use CanBeDisabled;
1820 use CanBeSearchable;
21+ use HasActions;
1922 use HasAffixes;
2023 use HasPlaceholder;
2124
You can’t perform that action at this time.
0 commit comments