FilamentF
Filamentβ€’2y ago
jjo63

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

public static function table(Table $table): Table
    {
        return $table
            ->columns([
                //
            ->filters([
                //
            ])

Is there a setting I should be using to achieve what I assumed was default behaviour?

Thanks πŸ™‚
j
Was this page helpful?