© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
Stephan

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()
  ->...
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Show item preview when repeater item is collapsed
FilamentFFilament / ❓┊help
2y ago
Use ID on newly created Model from ->createOptionAction
FilamentFFilament / ❓┊help
15mo ago
Tenant menu item on collapsed sidebar
FilamentFFilament / ❓┊help
4mo ago
Newly created option isn't selected when returning from createOptionForm()
FilamentFFilament / ❓┊help
2y ago