Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#16798 closed defect (fixed)

[regression] dojox/form/CheckedMultiSelect doesn't change value on click

Reported by: lzboron Owned by: bill
Priority: undecided Milestone: 1.9
Component: Dijit Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

When I click on item in CheckedMultiSelect, its value is not changed.

This was broken with commit [30465] in dijit on Jan 27.

This commit changed binding events defined through 'data-dojo-attach-event'. It replaced old dojo.connect with dojo.on, but 'dojox/form/resources/_CheckedMultiSelectItem.html' contains

data-dojo-attach-event="_onClick:_changeBox"

'_onClick' doeesn't start with 'on' and so it is not correctly bound and CheckedMultiSelect then doesn't respond to click events.

Change History (4)

comment:1 Changed 7 years ago by bill

Component: DojoX FormDijit
Description: modified (diff)
Owner: changed from dante to bill
Status: newassigned

Updating description from https://github.com/dojo/dijit/commit/ea9f51c2d879cc2f31cb868eb060d62a044cd05b to [30465].

Sounds like I broke something; I didn't think about connecting to events on widgets (as opposed to DOMNodes) and apparently dijit doesn't have tests for that either.

comment:2 Changed 7 years ago by bill

Milestone: tbd1.9
Summary: dojox/form/CheckedMultiSelect doesn't change value on click[regression] dojox/form/CheckedMultiSelect doesn't change value on click

comment:3 Changed 7 years ago by bill

Resolution: fixed
Status: assignedclosed

In [30768]:

Fix data-dojo-attach-event on widgets (as opposed to DOMNodes), fixes #16798, refs #16585 !strict.

comment:29 Changed 7 years ago by bill

In [30769]:

Fix data-dojo-attach-event on widgets for DTL. Also stop using deprecated signature of _attachNodes() where you pass an array of widgets rather than a DOMNode. Refs #16798, #16585 !strict.

Note: See TracTickets for help on using tickets.