How to Use CopyAction
protected function getActions(): array
{
return [
CopyAction::make()->icon('heroicon-s-clipboard-list')->copyable(fn () => 'ABCD' ),
];
}
I need copy to clipboard, how to impliment this in v2..4 Replies
Just have a look at the source code of the CopyAction if it's not included in v2?!
are you using valet if yes so first try php serve then check there. because in valet copy method not work but in
php serve
worked for mehopefully this helps .. https://twitter.com/shakeofabiomen/status/1706261501617606914
Abishek R Srikaanth (@shakeofabiomen)
If you ever wanted to implement
copy to clipboard
functionality as an action on your @filament forms, here is a simple way to do it. #laravel #php #filament #TipsTwitter
thanq