post by GabrielD on Aug 2, 2021

callbackAddForm can’t be used to set the default value of the dependent field (setDependentRelation).

I think here could be 2 possible options:

  • auto select the first value after the parent was changed
  • set the default value by name (e.g. “Default”) because the id is changing

Thank you!

1 / 1
Aug 2021