F
Filament16mo 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
awcodes16mo ago
yes, the 3rd parameter of the relationship method accepts a callback to modify the query.
Want results from more Discord servers?
Add your server