F
Filamentβ€’8mo ago
Avriant

Grouping Filters using Section or Fieldset returns an error, please help 😭

I get Method Filament\Forms\Components\Fieldset::table does not exist. I do import (or at least I think so) Fieldset. On Filament Discord people say it works, so probably wrapped something incorrectly https://discord.com/channels/883083792112300104/1187422662444720208/1187563565519998976
use Filament\Forms\Components\Fieldset;

//...
->filters([
Fieldset::make('Interior Filters')
->schema([
Filter::make('interior_flexible')
->query()
->label('A')
->toggle()
Filter::make('interior_not_flexible')
->query()
->label('B')
->toggle()
]),
...
use Filament\Forms\Components\Fieldset;

//...
->filters([
Fieldset::make('Interior Filters')
->schema([
Filter::make('interior_flexible')
->query()
->label('A')
->toggle()
Filter::make('interior_not_flexible')
->query()
->label('B')
->toggle()
]),
...
I suck at coding, so any help would be much appreciated 😦
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server