How to access the Repeater item?

Hi,

I am trying to access the repeater item.

``php Forms\Components\Tabs\Tab::make(__('Reduktionen'))->schema([ Forms\Components\Repeater::make('rooms') ->label(__('Zimmer')) ->itemLabel(fn() => 'TODO') // How to access room`?
->relationship('rooms')
->addable(false)
->deletable(false)
->defaultItems(0)
->schema([...])
]),
Was this page helpful?