Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#8134 closed defect (fixed)

SimpleTextArea: extra onChange?

Reported by: haysmark Owned by: Douglas Hays
Priority: high Milestone: 1.3
Component: Dijit - Form Version: 1.2.1
Keywords: Cc:
Blocked By: Blocking:

Description

http://archive.dojotoolkit.org/nightly/checkout/dijit/tests/form/test_SimpleTextarea.html

If you click set value to null, the textarea clears and the onchange textarea reads null. But if you then click inside the textarea and click out without changing it, onChange fires again, even though the user didn't touch the value, and this time reads "" instead of null. It seems like onChange shouldn't have fired here since the value didn't actually change.

Change History (4)

comment:1 Changed 11 years ago by bill

Milestone: tbd1.5
Owner: set to Douglas Hays

comment:2 Changed 11 years ago by Douglas Hays

Milestone: 1.51.3
Status: newassigned

comment:3 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

(In [16531]) Fixes #8134. null was being sent to onChange, but it should have been the empty string.

comment:4 Changed 8 years ago by bill

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