Prevent newly created item from being collapsed

Hi, I have a question about using collapsed() in Repeaters. I'm trying to ensure that when I add a new item to my repeater, the newly created item is expanded by default, while the previously existing items remain collapsed (or expanded). How can I achieve this?
Repeater::make('items')
->schema([...])
->collapsible()
->collapsed()
->...
Repeater::make('items')
->schema([...])
->collapsible()
->collapsed()
->...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server