Smykoil
Smykoil
FFilament
Created by Smykoil on 5/12/2024 in #❓┊help
a cell with a zero value is not displayed, even when formatting
in make(), specify a non-zero column in formatStateUsing(), take the value of the desired column from the $record variable
TextColumn::make('id')
->label('Notifications')
->formatStateUsing(
fn (Chat $record): string => match ($record->is_notifications_allowed) {
true => 'Allowed',
false => 'Prohibited',
null => 'Waiting',
}
)
->badge()
TextColumn::make('id')
->label('Notifications')
->formatStateUsing(
fn (Chat $record): string => match ($record->is_notifications_allowed) {
true => 'Allowed',
false => 'Prohibited',
null => 'Waiting',
}
)
->badge()
3 replies
FFilament
Created by Neamix on 5/12/2024 in #❓┊help
Filament Cant find has uploading message
is the file definitely there?
8 replies
FFilament
Created by Neamix on 5/12/2024 in #❓┊help
Filament Cant find has uploading message
show composer.json
8 replies
FFilament
Created by Neamix on 5/12/2024 in #❓┊help
Filament Cant find has uploading message
try composer install
8 replies