Repeater shows up collapsed - why?
I dont want this repeater to show collapsed, when the form loads. I want to show one item.
`
3 Replies
Have you tried with
->collapsed(false)
?
And also, from your image I can see it is not collapsed. It really has created no item at all.
yes, i have tried collapsed(false), but it still shows up closed, when i load the form.
why does that code show up the repeater item in collapsed? I need it open.
\
Also if i paste the example from the v2 documentation it appears collapsed:
`
Is there in filament any config var which maybe is controlling this? I pasted the code in other forms in my filamente v2 app, and always the repeater appears collapsed.
This is not a collapsed repeater. This is a repeater with no items.
defaultItems() only works on create
Also, make sure your field on your model is cast to an array.