oddvalue
oddvalue
FFilament
Created by yandos666 on 2/22/2024 in #❓┊help
Equivalent of novas computed fields?
Do you mean in a table? You can just use a TextColumn. i.e.
TextColumn::make('full_name')->getStateUsing(fn (Model $record): string => "{$record->first_name} {$record->last_name}")
TextColumn::make('full_name')->getStateUsing(fn (Model $record): string => "{$record->first_name} {$record->last_name}")
6 replies
FFilament
Created by _Davide_ on 12/28/2023 in #❓┊help
how to test anonymous actions?
@Davide did you ever find a solution to this?
7 replies
FFilament
Created by oddvalue on 9/20/2023 in #❓┊help
`Attempt to read property "form" on null` error in test
Turns out it was because I had a check in the mount that triggered a redirect if the user was already registered
4 replies
FFilament
Created by oddvalue on 9/18/2023 in #❓┊help
Logout route doesn't exist in tests
I think this might be an issue caused by a resource/page existing in multiple panels but I'm not 100% sure of that yet.
3 replies