Opened 12 years ago

Closed 12 years ago

Last modified 8 years ago

#4965 closed defect (invalid)

[patch] [cla] ComboBox fires onChange when leaving the ComboBox

Reported by: wolfram Owned by: Douglas Hays
Priority: high Milestone: 1.0
Component: Dijit - Form Version: 1.0
Keywords: ComboBox Cc:
Blocked By: Blocking:

Description

A side effect occured when fixing #4617, when leaving the ComboBox? (bluring, just clicking outisde of it) the onChange event was fired, due to setDisplayedValue() being called here /browser/dijit/trunk/form/ComboBox.js#L405, this patch fixes it, simply leave the displayed value as it is, since the value for setting it was previously retreived by getDisplayedValue() it seems invain anyway. I tested the use case described in #4617 and it still works.

Attachments (1)

fix4695.diff (479 bytes) - added by wolfram 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by wolfram

Attachment: fix4695.diff added

comment:1 Changed 12 years ago by wolfram

Summary: ComboBox fires onChange when leaving the ComboBox[patch] [cla] ComboBox fires onChange when leaving the ComboBox

comment:2 Changed 12 years ago by wolfram

Owner: set to Douglas Hays

comment:3 Changed 12 years ago by wolfram

Version: 0.91.0

comment:4 Changed 12 years ago by wolfram

Resolution: invalid
Status: newclosed

comment:5 Changed 8 years ago by bill

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