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

nuxeo-document-suggestion does not keep focus after click

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 2.4.0, 3.0.0
    • Fix Version/s: 2.2.32, 2.4.8, 3.0.0
    • Component/s: UI
    • Release Notes Summary:
      The nuxeo-document-suggestion element keeps the focus after a click.
    • Tags:
    • Backlog priority:
      500
    • Sprint:
      nxGang Sprint 11.1.10
    • Story Points:
      2

      Description

      Studio-side

      1. create a custom document type
      2. add a custom property myDocField in the document schema of type Document
      3. in Designer configure the forms
      4. double-check there is a nuxeo-document-suggestion for myDocField in the creation form, if not, add it manually using this:
        <nuxeo-document-suggestion role="widget" value="{{document.properties.testdoc:myDocField}}" label="Doc Field"></nuxeo-document-suggestion>
        
      5. save the project

      Server-side

      1. install Nuxeo
      2. sync the project
      3. login
      4. create a custom doc
      5. observe on the creation form that clicking on the suggestion field it loses the focus. When keeping the button down during a click, the focus is kept. When releasing the button, the focus is lost.

        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 - 3 hours
                  3h