Hi,
I have a detail entity(ipdetail) which is the composition of a header entity(ipheader). I created a entity-management polyer GUI from studio. But I can’t edit any ipdetail. It only shows [object] in the field. Do you have an example for this? Thank you.
Hi,
I tried to add a field(resultval) of detail entity by .dot as below. Polymer can show the field correctly but the data can’t be saved even the system prompt “successfully saved”.
<paper-input value="{{entity.ipdetail.resultval}}"
label="[[msg('ipdetail.resultval')]]"
error-message="[[serverErrors.ipdetail]]"
invalid="[[_isInvalid(serverErrors.ipdetail)]]">
</paper-input>
Hi, currently the UI for composition should be done manually however it will be improved: Polymer: support composition · Issue #8 · cuba-platform/front-generator · GitHub.
I will provide an example for you in a while
Hey @minaev
I am also interested in a demo on how to create UI for one-to-many relationships in Polymer. An example would be greatly appreciated!
Kind regards,
Tim