maxtor831
maxtor831
FFilament
Created by maxtor831 on 11/20/2023 in #❓┊help
How to use TextColumn instead of SelectColumn?
Works like a charm, thank you!
13 replies
FFilament
Created by maxtor831 on 11/20/2023 in #❓┊help
How to use TextColumn instead of SelectColumn?
Hi, thanks, would you have a sample for this please? Not too sure if you said yes to have translations or if something like the above would work for TextColumn.
13 replies
FFilament
Created by maxtor831 on 11/20/2023 in #❓┊help
How to use TextColumn instead of SelectColumn?
If I understood right, you suggesting to have a translation value stored for statuses.1 = 'Draft' , this seems a bit hacky, I do like the idea how its done on SelectColumn::make('status') ->options([ '0' => 'Draft', '1' => 'Complete', '2' => 'Incomplete', ]) wouldn't something like this work for TextColumn?
13 replies
FFilament
Created by maxtor831 on 11/20/2023 in #❓┊help
How to use TextColumn instead of SelectColumn?
thank you, how would you translate ID to Values in here? Tables\Columns\TextColumn::make('status') ->formatStateUsing(fn (string $state): string => __("statuses.{$state}"))
13 replies
FFilament
Created by maxtor831 on 11/20/2023 in #❓┊help
How to use TextColumn instead of SelectColumn?
yes, the translation from ID to Value, I am basically trying filament, there is a big project that I would like to use it for, I want to make sure that I am not limited by custom functionality
13 replies
FFilament
Created by bzy on 10/19/2023 in #❓┊help
I want to achieve something similar to options with a textColumn.
Hi @bzy have you managed to find out how to do it with textColumn? thanks
3 replies