filament-actions::group label not working?

Hey guys! I'm trying to use the label for <x-filament-actions::group /> component without any luck, I just see the icon without the text. Has someone bumped into this issue? This is what I have
<x-filament-actions::group
:actions="[
$this->createFromTemplateAction,
$this->createNewAction,
]"
label="Actions"
icon="phosphor-caret-down"
iconPosition={{\Filament\Support\Enums\IconPosition::After}}
size={{\Filament\Support\Enums\ActionSize::Large}}
color="primary"
/>
<x-filament-actions::group
:actions="[
$this->createFromTemplateAction,
$this->createNewAction,
]"
label="Actions"
icon="phosphor-caret-down"
iconPosition={{\Filament\Support\Enums\IconPosition::After}}
size={{\Filament\Support\Enums\ActionSize::Large}}
color="primary"
/>
Solution:
Add the meta tag "button"
Jump to solution
4 Replies
LiruLiruLiru
LiruLiruLiruOP12mo ago
This is the outcome, but i would like to have a label there, not just the icon
No description
Solution
bennett
bennett10mo ago
Add the meta tag "button"
bennett
bennett10mo ago
<x-filament-actions::group
:actions="[
$this->createFromTemplateAction,
$this->createNewAction,
]"
label="Actions"
button
icon="phosphor-caret-down"
iconPosition={{\Filament\Support\Enums\IconPosition::After}}
size={{\Filament\Support\Enums\ActionSize::Large}}
color="primary"
/>
<x-filament-actions::group
:actions="[
$this->createFromTemplateAction,
$this->createNewAction,
]"
label="Actions"
button
icon="phosphor-caret-down"
iconPosition={{\Filament\Support\Enums\IconPosition::After}}
size={{\Filament\Support\Enums\ActionSize::Large}}
color="primary"
/>
LiruLiruLiru
LiruLiruLiruOP10mo ago
I missed this!! Thank you very much!
Want results from more Discord servers?
Add your server