bzy
bzy
FFilament
Created by bzy on 10/19/2023 in #❓┊help
I want to achieve something similar to options with a textColumn.
I have a column with values like 1, 2, 3 type. While I can display it with SelectColumn, I would like to display it using textColumn. How can I do that?
public static function table(Table $table): Table
{
return $table
->columns([
SelectColumn::make('type')
->options([
PatientType::CAT => 'Cat',
PatientType::DOG => 'Dog',
PatientType::RABBIT => 'Rabbit',
])
...
public static function table(Table $table): Table
{
return $table
->columns([
SelectColumn::make('type')
->options([
PatientType::CAT => 'Cat',
PatientType::DOG => 'Dog',
PatientType::RABBIT => 'Rabbit',
])
...
3 replies
FFilament
Created by bzy on 10/18/2023 in #❓┊help
Is it possible to detect deletions with Google Analytics?
The FilamentPHP documentation doesn't seem to have any information about Google Analytics. In the article linked below, they set up a GA tag to be loaded by a file with render hooks, but I thought detecting deletions in Filament wouldn't be possible due to the use of modals. https://laraveldaily.com/post/add-google-analytics-code-to-filament-render-hooks
5 replies