© 2026 Hedgehog Software, LLC

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

Add condition to recordSelectOptionsQuery() based on current resource

Hi! When in the relation manager I'm trying to attach a new relation. I would like to modify the query options to only allow a specific subset of options. I would like to adjust the
recordSelectOptionsQuery()
recordSelectOptionsQuery()
condition based on an attribute of the resource for which I'm adding a relation. Is this possible? Thanks 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

reordering based on condition
FilamentFFilament / ❓┊help
3y ago
Set visibility of component based on current resource
FilamentFFilament / ❓┊help
12mo ago
how to add custom condition in resource listing
FilamentFFilament / ❓┊help
3y ago
hide Tabs based on condition
FilamentFFilament / ❓┊help
3y ago