Opened 11 years ago

Closed 11 years ago

#13792 closed defect (fixed)

dijit.form.FilteringSelect does not honor selected in option with + sign

Reported by: william88 Owned by: Douglas Hays
Priority: high Milestone: 1.7
Component: Dijit - Form Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:



I have the following code:

<select name="mp_user" dojoType="dijit.form.FilteringSelect" id="id_mp_user">
<option value="root" selected="selected">root</option>
<option value="daemon">daemon</option>
<option value="operator">operator</option>
<option value="bin">bin</option>
<option value="my+user" selected="selected">my+user</option>

my+user does not get selected on widget render, instead the field gets blank. It works fine if we use selected="selected" for any other user that doesn't have the "+" (plus) sign, including other characters like \, *, %.

This works with pure HTML and <select>, so I suppose there should be no reason to does not work with FilteringSelect??

I'm sorry if this is not a real deal, but from my eyes seems to be.

Change History (1)

comment:1 Changed 11 years ago by Douglas Hays

Milestone: tbd1.7
Resolution: fixed
Status: newclosed

Your example has 2 selected options. I assume that's a typo. Also for clarification, it's the + in the value= attribute that has a problem. Other characters like comma also have the same problem. Fortunately this appears to be fixed in Dojo 1.7.

Note: See TracTickets for help on using tickets.