Question for experienced filament devs- Repeater in form build is not shown

Hello Is there anything i am missing in docs that prevents Repeater component to be shown on page show? here is a simple code:
Repeater::make('jobRecruitmentStages')
->label('Stages')
->relationship()
->visible(true)
->schema([
TextInput::make('title')
->label('Title')
->required()
->live(onBlur: true)
->rules('min:5')
->maxLength(255),
]
)
Repeater::make('jobRecruitmentStages')
->label('Stages')
->relationship()
->visible(true)
->schema([
TextInput::make('title')
->label('Title')
->required()
->live(onBlur: true)
->rules('min:5')
->maxLength(255),
]
)
This shows nothing on page except the button. I would love to know how to get what i see in filament documentation where repeater is pre-filled with some fields. Ideally, i would love to provide something like:
Repeater::make('jobRecruitmentStages')
->label('Stages')
->default([
[
'title' => 'Applied',
'description' => 'Candidate applied for the job',
'order' => 1,
],
....
Repeater::make('jobRecruitmentStages')
->label('Stages')
->default([
[
'title' => 'Applied',
'description' => 'Candidate applied for the job',
'order' => 1,
],
....
However, all i am getting, when open a form page, even with that super simple example on top, is just a button on the page like image attached:
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server