Filament Table: Copy Column Text to Clipboard

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025
  • A quick demo of a core Filament feature of `copyable()`.
    Docs: filamentphp.co...
    More Filament examples on our website: filamentexampl...

ความคิดเห็น • 3

  • @theneverything
    @theneverything 19 วันที่ผ่านมา +1

    Just today I was wondering how to change the copyable state. Thanks for this Povilas!

  • @uncle_ebene
    @uncle_ebene 26 วันที่ผ่านมา +3

    You can do this to add an icon:
    TextColumn::make('email')
    ->icon('heroicon-m-envelope')
    ->iconPosition(IconPosition::After)

  • @gdogmalone
    @gdogmalone 18 วันที่ผ่านมา +1

    I’ve always puzzled over the icon. Like this tutorial many use the paste icon, I tend to favour the copy icon