unexpected behavior in Repeater when contain a Toggle

filament v3.0.7
in a panel, a resource has a repeater, including text input and a toggle!
there is unexpected behavior when adding or removing items
some time won't delete, or delete with the next action (request), and when adding an item it will add two items or more.

but if I disable the toggle or replace it with any other component the issue is gone!!
(my actual repeater has so many fields with different types but I am testing in a fresh app)

Initially I thought it's a LW queuing the requests or something like that, but when I removed the Toggle all good?! which now makes me crazier!!


I let you watch the two videos...

I have a repo ready if you want to test
https://github.com/lara-zeus/test-fila-three/pull/3
but here is the simple code:

public static function form(Form $form): Form
{
    return $form
        ->schema([
            TextInput::make('name'),
            Repeater::make('repeated_text')
                ->label('No Toggle')
                ->schema([
                    TextInput::make('name'),
                    //Toggle::make('aside'),
                ])->grid(2)
        ]);
}
Was this page helpful?