Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25841

The multi-value suggest pickers keep the typed search text after a suggestion is picked

    XMLWordPrintable

Details

    • Unknown

    Description

      Steps to reproduce

      1. On XWiki 18.2+, in a multi-value suggest picker (xwiki.selectize.js), type the start of a value, e.g. "adm".
      2. Pick a suggestion with Enter or the mouse.

      Actual result

      The typed text stays in the search field, and the next characters typed are appended to it.

      Expected result

      The search text is cleared once a suggestion is picked, as it was with Selectize before 18.2.

      Cause

      Tom Select's clearAfterSelect setting is false by default and xwiki.selectize.js doesn't set it (XWIKI-24088 replaced Selectize, which cleared the text).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: