© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
12 replies
Zeldroxe

How to generate fields dynamically?

Hello,
I would like to make a form in which fields are generated according to a value selected in a Select.
I would like to be able to select the activity in a drop down list, then the list of packages (name of the package + textinput with the number) is displayed. How can I do this?
I would like a very clean display, so I would like if possible not to have to use a repeater but rather something like a foreach loop (but I don't know how to get the data from the current record in the form() function)
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

How to dynamically set defaults for Repeater fields?
FilamentFFilament / ❓┊help
12mo ago
How to dynamically generate Field schemas in Filament v3
FilamentFFilament / ❓┊help
3y ago