Define a schema myschema with a multi-valued String field emailAddress
and the following code to edit this field in the new Web UI
<nuxeo-data-table role="widget" items="{{document.properties.myschema:emailAddress}}" orderable="true" editable="true" id="emailAddressDataTable" style="height: 350px !important;"> <nuxeo-data-table-column name="Email Addresses"> <template> <div role="widget">[[item]]</div> </template> </nuxeo-data-table-column> <nuxeo-data-table-form> <template> <nuxeo-input value="{{item}}" label="Email Address" type="text" maxlength="100" pattern="[a-zA-Z0-9]+@nuxeo.com"></nuxeo-input> </template> </nuxeo-data-table-form> </nuxeo-data-table>
It is impossible to set the fields:
- the display is incorrect
- at least the first value is not stored
- is duplicated by
-
NXP-23114 Multivalued complex unsupported in Web UI form
- Resolved
- is related to
-
ELEMENTS-327 Fix notify item changed in nuxeo-data-table
- Resolved
-
NXP-23114 Multivalued complex unsupported in Web UI form
- Resolved
-
NXP-23201 Can't add a multivalued field in creation layout (broken in Firefox)
- Resolved
-
ELEMENTS-441 Fix complex property editing on data table
- Resolved