Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#7150 closed defect (duplicate)

FilteringSelect: problem with \(backslash)

Reported by: fms Owned by:
Priority: high Milestone: tbd
Component: Dijit - Form Version: 1.1.1
Keywords: FilteringSelect backslash Cc:
Blocked By: Blocking:


When selecting an item that contains a '\'(backslash) from FilteringSelect?, 'The value entered is not valid' is shown even though it is valid.

In 1.1.1, the problem occurs with FilteringSelect?, and a data store other than dijit.form._ComboBoxDataStore(default), such as
dijit.form._ComboBoxDataStore escapes meta characters of RegExp?() on its own, whereas other data stores use instead.

In trunk(r14389), the problem occurs with FilteringSelect? and any data store, including dijit.form._ComboBoxDataStore.
In the changeset r14220, dijit.form._ComboBoxDataStore has been fixed to escape meta characters using just like other data stores, making the same problem to occur in dijit.form._ComboBoxDataStore as well.

Since '\' is a meta character of, '\'s in the label of FilteringSelect? must be escaped.

Sample patches to both revisions are attached.


Change History (3)

comment:1 Changed 14 years ago by fms

I inadvertently created a duplicate ticket. This defect is the same as the ticket #7151, so please delete this defect (#7150).

comment:2 Changed 14 years ago by bill

Resolution: duplicate
Status: newclosed

comment:3 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.