Coolman
Import Model still trying to use user_id despite specifying a different model
Hello, you can check this https://filamentphp.com/docs/3.x/actions/prebuilt-actions/import#using-a-custom-user-model
4 replies
What is the best/easiest way to overwrite a resource within a package?
You can create your own resource and extend it from the one you want to edit
Example:
use path to vendor/z3d0x/filament-logger/src/Resources/ActivityResource.php;
class MyResource extends ActivityResource
3 replies
Saving Optional Relationship to db does not persist
if this is a one to one relation, only the belongsto table needs the foreign key (in this case, the book_id on the book_poster table). The problem must be on the poster() method on the book Model that it map the relation
33 replies
FilamentColor::register() not working properly
Hey thanks for the reply but I'm using the default colors of filament, they already exist. For example if I'm sending a notification of type success the color will be green but in the register method I say that 'success' is Color::Amber it doesn't work
6 replies