F
Filament15mo ago
Mis Tsu

How to copy the column's value when click?

How to add a button to copy the Token column text ,other way copy text when I click on Token column?
No description
3 Replies
toeknee
toeknee15mo ago
->copyable() So when they click the column it copies
toeknee
toeknee15mo ago
https://filamentphp.com/docs/3.x/tables/columns/color#allowing-the-color-to-be-copied-to-the-clipboard You could formatStateUsing(fn($state) => $state . ' COPY') to add a copy word. Or prefix/postfix an icon
Mis Tsu
Mis TsuOP15mo ago
Thank you very much!
Want results from more Discord servers?
Add your server