Filament forms and Model::shouldBeStrict();

With following setting in AppServiceProvider:
private function configureModels(): void
{
Model::shouldBeStrict();
}
private function configureModels(): void
{
Model::shouldBeStrict();
}
Filament asks for "id", "created_at", "updated_at", "deleted_at" fields to be fillable and also additional fields that are present in form that act as a front-end helpers only.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?