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

StaticList default suggest editor with freetext doesn't allow to type a comma

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.5-rc-1
    • Fix Version/s: None
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      It is not possible to type a comma (",") in free values of a static list: the comma is always use to type a new value, even if the class does not define it as a separator.

      Reproduction step:
      1. Create a new page with a class containing a unique StaticList property with the following parameters:

      • Display type = Input
      • Multiple Select is checked
      • Use Suggest is checked
      • Multiselect seperators = | (and only it)
      • Free text = allowed
        2. Add a new object from the same page and try to type the following value: "A value, with a comma"

      Expected result:

      • The entire value "A value, with a comma" is recorded

      Obtained result:

      • 2 values are recorded: "A value" and "with a comma"

      Notes: even if "|" is used as a separator, you can create any value containing a "|" it won't be used to separate values in the editor.

      It has been tested on both Firefox and Chrome.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                surli Simon Urli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: