Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19686

Take into account select2 closeOnSelect property

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF30, 7.10-HF09, 8.2
    • Fix Version/s: 8.3
    • Component/s: Layouts & Widgets
    • Tags:
    • Sprint:
      nxGang Sprint 8.3.4
    • Story Points:
      1

      Description

      Use case:

      When using a multiple select dropdown list, each selection closes the list.
      This means if there are 20 documents to add, this takes 40 clicks whereas not closing the list makes it only 21. This saves a lot of time.

      Test case:

      1) In studio add a Multiple generic suggestion widget with a standard query like

      SELECT * FROM Document WHERE dc:title LIKE ?

      2) in Custom properties configuration add closeOnSelect with value false
      3) save and try to select multiple documents, the list closes after selection. The parameter is present in the page though (just have a look at the generated html)

      So far a workaround is available with SUPNXP-16895 but that should be available OOTB.

      closeOnSelect property is documented here:
      http://select2.github.io/select2/

        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