Coolman
Coolman
FFilament
Created by Coolman on 2/15/2024 in #❓┊help
FilamentColor::register() not working properly
Hello everyone, I'm trying to override the default colors in my AppServiceProvider boot function, like so
FilamentColor::register([
'danger' => Color::Red,
'gray' => Color::Zinc,
'info' => Color::Blue,
'primary' => Color::Amber,
'success' => Color::Green,
'warning' => Color::Amber,
]);
FilamentColor::register([
'danger' => Color::Red,
'gray' => Color::Zinc,
'info' => Color::Blue,
'primary' => Color::Amber,
'success' => Color::Green,
'warning' => Color::Amber,
]);
And when I use a class like bg-primary-500 it works but if I use any other color it doesn't. Anyone has this problem too? P.S. When I change the color of 'primary' the application detects that change. Laravel: 10.10 Filament: 3.2.* PHP: 8.2 Thanks
6 replies
FFilament
Created by Coolman on 8/14/2023 in #❓┊help
change data before create/edit actions on modal
Hey guys so I have a resource that uses a modal to perform the create and edit actions and I have two datepickers (start_date and end_date) and they work ok but I want to when I persist the changes I want that start_date starts at the beginning of the day and end_date at end of day. I saw that I can change the handleRecordUpdate but only works when I have the create or edit page created. Thanks in advance
4 replies
FFilament
Created by Coolman on 8/3/2023 in #❓┊help
Missing files running php artisan vendor:publish --tag="filament-views" on filament v3
No description
57 replies