Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#5064 closed defect (fixed)

FilteringSelect onChange fires when Page Loads

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

Description

If you add an onChange event to a FilteringSelect?, it will fire when the page loads.

I am using 1.0.0 from CDN.

It behaves the same in FF2 and IE7.

It doesn't seem to happen with other form dijits.

Attachments (1)

dojotest_cdn_onchange.htm (1.3 KB) - added by guest 12 years ago.
OnChange? in FilteringSelect? Test

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by guest

Attachment: dojotest_cdn_onchange.htm added

comment:2 Changed 12 years ago by bill

Component: GeneralDijit
Milestone: 1.0.1
Owner: changed from anonymous to Douglas Hays

Thanks for the testcase!

comment:3 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [11475]) Fixes #5064 for 1.1. Changed FilteringSelect? to understand priorityChange boolean on setValue. Changed setValue to fire onChange if no priorityChange flag is specified to handle user actions. Changed unit tests to display onChange event results for better visual testing. Changed internal setValue calls to specify priorityChange boolean to differeniate from user setValue calls.

comment:4 Changed 12 years ago by Douglas Hays

(In [11476]) Fixes #5064 for 1.0.1. See [11475] for a descripton of changes.

comment:5 Changed 9 years ago by bill

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