#6658 closed defect (invalid)
dijit.form.CheckBox appears broken...
Reported by: | Jared Jurkiewicz | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.2 |
Component: | Dijit - Form | Version: | 1.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dijit.form.CheckBox? appears broken...
I was trying to port over to intermediateChanges=true for ComboBox? when I uncovered that it appears CheckBox? is broken with regards to its notification functions. Namely, I can't interscept when the value changes anymore. In fact, if I try to connect to setAttribute(), I get errors from the console. I have a simple testcase which shows it.
Will be attaching soon.
Attachments (1)
Change History (6)
Changed 13 years ago by
Attachment: | test_Checkbox.html added |
---|
comment:1 Changed 13 years ago by
I can't do: dojo.connect(addr, "onChange", new function() {alert("Here.")}); either.
I just get a: ls[i].apply is not a function [Break on this error] ls[i].apply(this, arguments);
Error.
It looks like connecting to some of the events is broken somehow.
comment:2 Changed 13 years ago by
Priority: | high → normal |
---|---|
severity: | major → normal |
Or I've done something stupid and just don't see it. When I changed my wire demos to use onChange for CheckBox?, they work. But if I just try to connect to onChange of the widget, it doesn't work. any ideas?
Lowering sev since it's working in the demo with the wire to onChange.
comment:3 Changed 13 years ago by
Milestone: | → 1.2 |
---|---|
Resolution: | → invalid |
Status: | new → closed |
It works fine but you need to remove the "new" before the function() references. Only setAttribute will fire.
comment:5 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Testcase for this issue. Drop it as a peer to dojo/