Show Repeaters first entry in Table View
I would like to show an entry in the Table View of Component. How can i access this data? This is my repeater:
Forms\Components\Repeater::make('dates')
->label("Termine")
->schema([
Forms\Components\Select::make('location')
->label('Ort')
->required()
->relationship('location', 'title'),
Forms\Components\DatePicker::make('date')
->timezone('Europe/Berlin')
->label("Datum")
->required(),
Forms\Components\TimePicker::make('start_time')
->timezone('Europe/Berlin')
->seconds(false)
->label("Startzeit")
->required(),
Forms\Components\TimePicker::make('end_time')
->timezone('Europe/Berlin')
->seconds(false)
->label("Endzeit")
->required(),
])
->columns(2)
->defaultItems(1)
->cloneable()Forms\Components\Repeater::make('dates')
->label("Termine")
->schema([
Forms\Components\Select::make('location')
->label('Ort')
->required()
->relationship('location', 'title'),
Forms\Components\DatePicker::make('date')
->timezone('Europe/Berlin')
->label("Datum")
->required(),
Forms\Components\TimePicker::make('start_time')
->timezone('Europe/Berlin')
->seconds(false)
->label("Startzeit")
->required(),
Forms\Components\TimePicker::make('end_time')
->timezone('Europe/Berlin')
->seconds(false)
->label("Endzeit")
->required(),
])
->columns(2)
->defaultItems(1)
->cloneable()