© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago
Pulpsting0610

Dynamically change defaultItems in Repeater

I have a repeater->make('numbers.winning_numbers') and another select component.

Default Items in repeater is 2. But whenever the select component is updated, default items in repeater needs to be changed.

I think this can be achieved by using live() and afterStateUpdated hook in select component but I just can use $set to set the defaultItems in repeater.

Any help?
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

Repeater defaultItems
FilamentFFilament / ❓┊help
3y ago
Dynamically change Form component in Repeater
FilamentFFilament / ❓┊help
2y ago
Repeater `defaultItems()` not works
FilamentFFilament / ❓┊help
3y ago
update defaultItems repeater with an other fields
FilamentFFilament / ❓┊help
2y ago