© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
NikkiP

Populating Repeater Select Dropdown

How can you populate a select dropdown inside a repeater based on the select dropdown outside the repeater. See attached screenshot. Thank you!
2023-11-25_23-01-56.webp
Solution
Passing an array into the repeater..
->live()
->afterStateUpdated(function($state, \Closure $get) {
  $set('myRepeater', SubjectsModel::find((int) $state)->toArray());
}
->live()
->afterStateUpdated(function($state, \Closure $get) {
  $set('myRepeater', SubjectsModel::find((int) $state)->toArray());
}


should work, or your can do a built of an array from populating it and then settingn it as but the $set above
Jump to solution
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

Select [all options] of dropdown inside repeater
FilamentFFilament / ❓┊help
3y ago
TableRepeater / Repeater populating form
FilamentFFilament / ❓┊help
13mo ago
Select options not populating
FilamentFFilament / ❓┊help
2y ago
Hide Select Dropdown depends on the Select Dropdown value?
FilamentFFilament / ❓┊help
2y ago