Item label for repeater

Hello guys. I am using a collapsed repeater with an item label. I need that label to be set to the room title. This is my code
  Repeater::make('bedroom_option')
                        ->itemLabel('Bedroom option')
                        ->collapsed()
                        ->inset()
                        ->schema([
                            TextInput::make('room_title')
                            ->reactive()
                            ->label('Room title')
                            ->required(),

Is there a way to set the item label to room title foreach item of the repeater ?
Screenshot_2023-06-06_at_13.24.56.png
Was this page helpful?