webbingbrasil/filament-copyactions

Method Webbingbrasil\FilamentCopyActions\Forms\Actions\CopyAction::getDefaultCopyable does not exist.

Closed this issue · 4 comments

Hi. I'm getting a Method Webbingbrasil\FilamentCopyActions\Forms\Actions\CopyAction::getDefaultCopyable does not exist exception when I try and use ->copyable in a TextInput suffix action:

->suffixAction(CopyAction::make()->copyable(fn () => ........))

Any ideas why this might be happening? Thanks!

@Any fixes? – @dmandrade Added a PR #29

@binaryfire A temporary work around is to override CopyAction:

CleanShot 2024-04-01 at 10 04 12

I have same issue with TextInput that includes a prefix

Fixed on #29