Hi all,
I have a problem with editing data when the components for that entity are inside hbox elements.
Take this example below, when writing the dateField I don’t get any suggestions for properties and when I pick a new date in the screen, no dataContext.changeEvent is triggered and the entity does not move into the modified entities in the data context. This can be fixed by adding a “dataContainer” attribute as in the timeField but I would like that all fields use the dataContainer of the form they are in.
Can you please clarify why the hbox has this behavior? I can adapt to that but it is a bit confusing as it is. Thank you!
<form id="detailsForm" dataContainer="detailsDc" width="100%">
<column width="100%">
<entityComboBox property="detail1"
optionsContainer="detail1Dc"
width="100%">
<actions>
<action id="lookup" type="entity_lookup"/>
<action id="clear" type="entity_clear"/>
</actions>
</entityComboBox>
<hbox width="100%" id="twoFieldsHbox" caption="combined fields">
<dateField id="dateField" property="detailDate" />
<timeField id="timeField" dataContainer="detailsDc" property="detailTime"/>
</hbox>
</column>