adevade
Year data type
You should define the cast on the Eloquent model: https://laravel.com/docs/10.x/eloquent-mutators#date-casting
13 replies
Year data type
I believe this should work, but I have not tested unfortunately. Otherwise you could just store the year as an integer and user accessors and mutators on the model to get it in your desired format throughout your application: https://laravel.com/docs/10.x/eloquent-mutators#accessors-and-mutators
13 replies
Custom Page issue with filament
Have you read the documentation? https://filamentphp.com/docs/3.x/panels/pages
You should get a Blade file in your
views/pages
directory, where you can do whatever you want.2 replies