Text to be copied to the clipboard

Hi, I am trying to utilise the feature of copyable() however it, it keeps returning me the following error when added (See image). This is how I applied it it: public static function table(Table $table): Table { return $table ->columns([ TextColumn::make('comment')->copyable(true), // <-- Here ]) ->filters([ ]) ->actions([ Tables\Actions\EditAction::make(), Tables\Actions\DeleteAction::make() ]) ->bulkActions([ Tables\Actions\DeleteBulkAction::make(), ]); } https://filamentphp.com/docs/2.x/tables/columns/text#customizing-the-text-that-is-copied-to-the-clipboard
No description
3 Replies
Thijmen
Thijmen9mo ago
Can you try if it works while using the ->copyableState() ?
LeandroFerreira
LeandroFerreira9mo ago
filament version?
gemini.dev
gemini.devOP9mo ago
Hi, I get an error saying copyableState does not exist. "version": "v2.17.48",
Want results from more Discord servers?
Add your server