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

Fix nuxeo-html-editor usage in a nuxeo-data-table-form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.0.6
    • Component/s: Widgets
    • Release Notes Summary:
      The HTML editor works properly in a nuxeo-data-table-form.
    • Backlog priority:
      800
    • Sprint:
      YO LETS DO THIS MAYBE, UI - 2021-09

      Description

      This is a regression brought by WebUI 3.0.3 (as it's working fine with webui-3.0.0 to webui-3.0.2

      Steps to reproduce:

      1. define a document type with a multi-valued complex with at least one String field used by the HTML editor
      2. define a layout to fill the complex property. It can look like
              <nuxeo-data-table-form>
                <template>
                  <nuxeo-html-editor value="{{item.descript}}"></nuxeo-html-editor> 
                  <nuxeo-directory-suggestion value="{{item.language}}" label="Language" min-chars="0" directory-name="language" name="language"></nuxeo-directory-suggestion>
                </template>
              </nuxeo-data-table-form>
        
      3. create a document of this type
      4. edit the document and try to add an item to this multi-valued complex
      5. put a value to the HTML editor and select a value for "language"
      6. click on the OK button to validate
      7. observe that the popup remains open

      Expected behavior: the popup is closed when clicking on the OK button and the new value is visible in the table for the multi-valued complex field

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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, 4 hours, 30 minutes
                  1d 4h 30m