© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
mathioud

Select Field: Group Category options based on level of category

Hello, I would like to create a Select Field to display categories of products, but i want them to make sense visually like this:

- Category 1
-- SubCategory 1-1
-- SubCategory 1-2

- Category 2
-- Sub Category 2-1
-- Sub Category 2-2
-- Sub Category 2-3

and so on..

Each Category has a parent_id, pointing to the parent category.
Any ideas ? I didn't see any reference in the docs

Thank you in advance!
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

Display category to select field
FilamentFFilament / ❓┊help
3y ago
Testing select field options
FilamentFFilament / ❓┊help
3y ago
Show a list of options based on another field
FilamentFFilament / ❓┊help
2y ago
Filtering a Select field's options based on a parent relationship
FilamentFFilament / ❓┊help
3y ago