F
Filament14mo ago
billmn

Action in Placeholder hintAction doesn't fire

I have added an action to a form Placeholder component using hintAction method but, when I click on the action nothing happen. The same action used in a TextInput works fine. This is an example:
Placeholder::make('somePlaceholder')
->content('Bla bla bla')
->hintAction(
Action::make('copyText')
->icon('heroicon-m-clipboard')
->requiresConfirmation()
->action(fn () => dd('test'))
),
Placeholder::make('somePlaceholder')
->content('Bla bla bla')
->hintAction(
Action::make('copyText')
->icon('heroicon-m-clipboard')
->requiresConfirmation()
->action(fn () => dd('test'))
),
could it be a bug?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server