Hi everyone,
I see that the default value of field is now defined in UI model!
And:
- We don’t always have filed displayed on UI,
- Our project (<PROJECT_NAME>) work around to listen on another field (which is displayed on UI) changed, to set this field value → does not scale well,
- UI model which is just ONE of representation of document, a document might be consumed by another client (third-party service…).
My suggestion, that on data model we could init default value, and also ui model too.
When generate empty document:
- First, the generator look into field configuration in data model,
- Second, the generator look into field configuration in ui model (if there is a UI model),
- The configuration on ui model wins

Cheers,
Trinh.