I noticed that default values are not applied to fields when creating a DomInstance via code.
Do we have a method available that can do this?
I did not find one, so I was already writing something like this:
Hi Thomas, As you have indeed noticed, there is no automated way of assigning these default values to a DomInstance. The default values defined on a FieldDescriptor are currently only used by the form component in a low-code app to pre-fill some values for you. It is indeed also possible to extract this value and apply it to your DomInstance in code. The code snippet you posted seems to do that job perfectly.