Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-246

HTML Editor doesn't handle readOnly properly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.1
    • Fix Version/s: None
    • Component/s: UI

      Description

      In a custom doctype (Article) view layout, I am using:

      <nuxeo-html-editor value="{{document.properties.article:body}}" label="Body" name="body" role="widget" read-only></nuxeo-html-editor>
      

      However, Web UI displays only the "Type here..." message, and not the rendered value of my article:body property.

      (The nuxeo-html-editor element seems to work fine in an edit layout i.e. not readOnly.)

      Expected Result: the HTML chunk in given property should be rendered into the current element. The "Type here..." message should not be displayed (even if the value is empty) as it is supposed to be read only.

      Actual Result: The "Type here..." message is displayed, and not the rendered property content.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                msaye Mark Saye
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.