Repeater hide the input on second item

How to hide the Repeater Radio button the second item of repeater?

Forms\Components\Repeater::make('eventDates')
                    ->label('Event dates')
                    ->required()
                    ->relationship('eventDates')
                    ->columnSpanFull()
->schema([
                        Forms\Components\Radio::make('recurrent')
                            ->label('Is this event recurring?')
                            ->boolean()
                            ->live()
                            ->required(),

                        Forms\Components\DateTimePicker::make('recurrent_startdate')
                            ->label('Calendar Starts On')
                            ->required()
                            ->visible(fn(Forms\Get $get) => $get('recurrent')),
]),
Was this page helpful?