F
Filament2y ago
xy

Select field with relationship - exclude current record from options

Using the Forms\Components\Select with ->relationship(...), is it possible to exclude current record from the list?
2 Replies
awcodes
awcodes2y ago
yes, the 3rd parameter of the relationship method accepts a callback to modify the query.

Did you find this page helpful?