Default columns in <resourcename>.php
Hi when I first started tinkering with Filament the <modelname>Resource.php file contained references to columns (fields) within the referenced model. I would then edit out the ones I didn't want.
I want to use Filament on a new project but this time I note that the columns (fields) are not present - e.g. I see
Is there a setting I should be using to achieve what I assumed was default behaviour?
Thanks π
j
Solution:Jump to solution
To auto create them you need to generate them as per:
https://filamentphp.com/docs/3.x/panels/resources/getting-started#automatically-generating-forms-and-tables...
2 Replies
Solution
To auto create them you need to generate them as per:
https://filamentphp.com/docs/3.x/panels/resources/getting-started#automatically-generating-forms-and-tables
Where's the emoji for slapping one's own forehead?
Guess who had forgotten to use the option
Sorry