Enhancement
Detail
#24319
Configurative "Mandatory" Override for Properties in Declarative Forms
If a property is not "mandatory", it can be provided with the annotation"DynamicMandatory" for a specific form via a customization and set to "mandatory". This includes a calculation function whether the associated form field should be "mandatory" in a certain situation. However, it is not possible to mark the field as constantly "mandatory" via a customization.
It should also be possible to configure the direct annotation"@Mandatory", so that the field belonging to the property is always "mandatory".
Application
#!xml <customizations> <property name="my.Type#my-property"> <annotations> <mandatory/> </annotations> </property> </customizations>
Test
TestDeclarativeFormConstraints.script.xml