#7 Allow Whitespace in Ticket *Select* Fields

implemented
nobody
Tickets
2013-05-22
2012-09-17
No

When defining eligible values for a ticket field of type select, it is currently impossible to define any values that contain whitespace characters. All whitespace characters are used as delimiters for the select values. Workarounds such as hyphens or underscores have to be used to indicate two separate words.

There are various ways how whitespace could be supported:

  1. Define quoting characters, as seen in many programming languages, between which whitespace characters are just treated like normal parts of the string rather than as delimiters.
  2. Define an escape character, after which whitespace is treated as a normal character.
  3. Define a placeholder character that is displayed as a whitespace. For example, TagCrowd asks users to type a tilde (~) to indicate that two or more words belong together, and displays a whitespace instead.

In the context of the ticketing system, I think suggestion 3) is the most straightforward solution, even though it would mean one character, e.g. ~, cannot be used any more.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2013-05-22
    • status: open --> implemented
     
  • Dave Brondsema

    Dave Brondsema - 2013-05-22

    Select field choices can now use quotes to group items. For example: red blue "dark green" "hot pink"

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks