Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#3174 closed defect (worksforme)

dijit.form.Select doesn't empty properly

Reported by: guest Owned by: haysmark
Priority: high Milestone: 0.9
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

Expected behavior: if I empty a dijit.form.Select text input field, the ID field should also be emptied. Instead a random datum (usually the first) from the loaded dataset is selected.

See, guys? I'm contributing, not just complaining ;-)

Change History (3)

comment:1 Changed 12 years ago by bill

Component: GeneralDijit
Milestone: 0.9
Owner: changed from anonymous to haysmark

Hmm, I'm not so sure about that; a normal HTML <select> tag won't let you "empty" it, right? It's always set to one of the valid option values. Passing to Mark for him to consider.

comment:2 Changed 12 years ago by haysmark

Resolution: worksforme
Status: newclosed

See the example Selects in the latest build: http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_Select.html

You CAN empty the textbox, and it will indeed set the invisible value to "".

No contact information given, so I am resolving this issue as worksforme.

comment:3 Changed 9 years ago by bill

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