F
Filamentβ€’7mo ago
szucs996#1

distinct() and fixIndistinctState() method doesn't exists

Hi there, I have repeater and in it a checkbox. I tried using both method from title but it's telling me method not found. Code:
Forms\Components\Repeater::make('entities')
->relationship('entities')
->schema([
Forms\Components\Section::make()
->schema([
Forms\Components\Toggle::make('active')
->default(true),
Checkbox::make('default')
->fixIndistinctState(),
])
->columns(2),

])
Forms\Components\Repeater::make('entities')
->relationship('entities')
->schema([
Forms\Components\Section::make()
->schema([
Forms\Components\Toggle::make('active')
->default(true),
Checkbox::make('default')
->fixIndistinctState(),
])
->columns(2),

])
Do you have any idea?
No description
4 Replies
Sjoerd24
Sjoerd24β€’7mo ago
What is your version of filament? Should be >3.1
szucs996#1
szucs996#1β€’7mo ago
No description
szucs996#1
szucs996#1β€’7mo ago
No description
szucs996#1
szucs996#1β€’7mo ago
Resolved. Thanks πŸ™‚