F
Filament2mo ago
aldec

MorphToSelect default value value

Is there a way to set a default value to a MorphToSelect field?
2 Replies
TDDeveloper
TDDeveloper2mo ago
Hi @aldec, As far I can understand from the documentation, that is not possible. I have not used this component yet, but from reading the documentation it seems logical that this method doesn't exist.
aldec
aldecOP2mo ago
I tried it now with an afterStateHydrated function, this seems to work for now...

Did you find this page helpful?