How to preselect a MorphToSelect?
I have a
MorphToSelect::make('inspectable')
and want to pre-fill it via url. In my CreateRecord component I use the mount() method.
If I open the url the type select is set correctly but the id select shows the id and not the type value.
Btw: I'm pretty sure it worked in the v4 beta π1 Reply
Solution
Nvm: The given id was filtered out via
modifyOptionsQueryUsing
π π