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),

                            ])

Do you have any idea?
image.png
Was this page helpful?