Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-470

Fix multi-value string data table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.1, 2.1.3
    • Fix Version/s: 1.0.2, 2.2.0
    • Component/s: UI
    • Environment:
      Browser: Chrome and Firefox
      From Studio

      Description

      On a task layout, the string multi-value field doesn't data table doesn't seem to show the values.

      Video attached.
      Code for the first case, that works.

          <nuxeo-data-table items="{{document.properties.contract:contact}}" orderable="true" editable="true" role="widget" size="0">
      
            <nuxeo-data-table-column name="Name">
              <template>
                [[item.Name]]
              </template>
            </nuxeo-data-table-column>
      
            <nuxeo-data-table-column name="Number">
              <template>
                [[item.number]]
              </template>
            </nuxeo-data-table-column>
      
            <nuxeo-data-table-column name="Active">
              <template>
                [[item.active]]
              </template>
            </nuxeo-data-table-column>
      
            <nuxeo-data-table-form>
              <template>
                <nuxeo-input value="{{item.Name}}" label="Name" type="text"></nuxeo-input>
                <nuxeo-input value="{{item.number}}" label="Number" type="number"></nuxeo-input>
                <paper-checkbox checked="{{item.active}}"></paper-checkbox>
              </template>
            </nuxeo-data-table-form>
          </nuxeo-data-table>
      

      The code for the non-working table

          <nuxeo-data-table role="widget" items="{{task.variables.assignees}}" orderable="true" editable="true" size="0" scroll-throttle="60">
            <nuxeo-data-table-column name="Assignees">
              <template>
                [[item]]
              </template>
            </nuxeo-data-table-column>
      
            <nuxeo-data-table-form>
              <template>
                <nuxeo-input value="{{item}}" label="Assignees" type="text"></nuxeo-input>
              </template>
            </nuxeo-data-table-form>
          </nuxeo-data-table>
      
      

      URL to project: https://nos-dev03-connect.nos.nuxeo.com/nuxeo/designer/#/tcardoso-SANDBOX/layouts/workflow/contractvalidation/Contract%20Validation%20task
      (probably temporary)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d