#18232 closed defect (fixed)
onChange incorrectly fired for widget using _ToggleButtonMixin (ToggleButton, Checkbox, RadioButton)
Reported by: | Colin Snover | Owned by: | Colin Snover |
---|---|---|---|
Priority: | undecided | Milestone: | 1.8.7 |
Component: | Dijit - Form | Version: | 1.8.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
_ToggleButtonMixin
fails to set the lastValueReported
/resetValue
properties at construction time, unlike widgets that inherit from _FormValueMixin
. This means that the first time a form or form widget is reset that uses _ToggleButtonMixin
, an invalid onChange event is fired even if the value has not changed from the initial state.
This problem exists back to at least 1.7.
Patch forthcoming.
Change History (5)
comment:1 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 6 years ago by
Milestone: | 1.7.6 → 1.8.7 |
---|---|
Version: | 1.7.5 → 1.8.5 |
It became too thorny to backport this past 1.8; there was obviously some refactoring from 1.7 to 1.8.
Note: See
TracTickets for help on using
tickets.
In 2a0b9c71240e02b1c4a3c845147f5f154b3acb78/dijit: