FilamentF
Filament3y ago
Abi

Dependent MorphToSelect Field

I have 2 MorphToSelect fields, is it possible to make the 2nd one dependable on the first one, like with the Select field? I want to filter the values on the 2nd MorphToSelect field based on the value select on the first MorphToSelect field. I only want to filter the values and not the Type. I see there is the modifyOptionsQueryUsing function on MorphToSelect\Type, but not sure how to change the query based on another MorphToSelect fields data.
Was this page helpful?