Citizen
Citizen
FFilament
Created by Citizen on 2/11/2025 in #❓┊help
How can I re-use the filament boolean icon in more places?
I'm thinking something like this:
TextEntry::make('phone_verified_at')
->icon(static fn (User $record) => $record->phone_verified_at ? 'filament-boolean-true' : 'filament-boolean-false')
->label('Verified At')
->dateTime('F j, Y, g:i a')
->placeholder('Not Verified'),
TextEntry::make('phone_verified_at')
->icon(static fn (User $record) => $record->phone_verified_at ? 'filament-boolean-true' : 'filament-boolean-false')
->label('Verified At')
->dateTime('F j, Y, g:i a')
->placeholder('Not Verified'),
But not just here also other places like generally in the UI. Is there a default component that I can invoke, that way if filament ever changes the icon or colors my checkmark icons will change as well? Hoping to keep things consistent.
3 replies
FFilament
Created by Citizen on 2/11/2025 in #❓┊help
Why are my dashboard panels so small?
No description
10 replies
FFilament
Created by Citizen on 10/25/2024 in #❓┊help
Panel ->assets() result in 404. What am I missing?
I'm new to Filament and have been following the guide. I got to this point and followed the directions to create a custom css sheet in resources/css/filament-organize.css: https://filamentphp.com/docs/3.x/panels/configuration#registering-assets-for-a-panel In my network tab, I get this error: http://localhost/css/app/filament-organize.css?v=3.2.121.0 404 not found Sure enough, that file doesn't exist at that path. Do I need to do anything else config-wise to get this to work? My code:
->assets([
Css::make('filament-organize', resource_path('css/filament-organize.css')),
]);
->assets([
Css::make('filament-organize', resource_path('css/filament-organize.css')),
]);
25 replies