-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 2.1.3
-
Fix Version/s: None
-
Component/s: UI
-
Tags:
Steps to reproduce:
- Create a custom schema in Studio
name type Multivalued codDependencia String Yes codMacro String Yes codigo Directory No codMacro String No
- Associate the schema with a document type
- Generate the view layout for the document type in View Designer
- This code is generated:
<nuxeo-data-table role="widget" items="{{document.properties.Sector:codDependencia}}" orderable="true" editable="true" size="0"> <nuxeo-data-table-column name="Cod Dependencia"> <template> [[item]] </template> </nuxeo-data-table-column> <nuxeo-data-table-form> <template> <nuxeo-input value="{{item}}" label="Cod Dependencia" type="text" maxlength="4" required="true"></nuxeo-input> </template> </nuxeo-data-table-form> </nuxeo-data-table>
- Save changes
- Deploy on your instance
- Create a new document
- When you try to add a new value to the multivalued property an empty row is added (See screenshots)
NOTE: * Nuxeo 9.3 used in this test
- duplicates
-
ELEMENTS-470 Fix multi-value string data table
- Resolved
- is related to
-
ELEMENTS-488 Property name size change when you click on the input field (ADD pop-up, for a multivalued property)
- Resolved