#8666 closed defect (fixed)
RadioButton: form doesn't send default value on IE
Reported by: | sayuri | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | Dijit - Form | Version: | 1.3.0b1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
At attached sample, when click submit only, HTML form send query string "r=a", but Dijit form send empty query string. If click b to change value, HTML form and Dijit form send "r=b".
IE6 on XP is NG, IE7 on Vista is NG, IE8 on Vista is OK, Firefox is OK.
Attachments (1)
Change History (7)
Changed 12 years ago by
comment:1 Changed 12 years ago by
Milestone: | tbd → 1.3 |
---|
comment:2 Changed 12 years ago by
Sadly, it occurres the following:
- 1.3.0b1
- before 8660.patch
- after 8660.patch
comment:3 Changed 12 years ago by
Owner: | set to bill |
---|---|
Status: | new → assigned |
Yah, disappointing. This also reproduces with test_Checkbox.html on the "Radio Group #1", where the initial value setting is "talk". I'm looking at it now...
comment:4 Changed 12 years ago by
Hmm, well it broke in [16468] for #8484. Apparently doing a node.setAttribute('checked', ...) call on an <input> that isn't yet attached to <body> causes subtle issues like this.
I could switch the order in _Widget.js so it attaches the widget to the DOM before calling applyAttributes(), but that wouldn't help for a simple
new dijit.form.RadioButton({checked: true, name: 'foo'})
without a srcNodeRef specified. Not sure if that ever worked.
comment:6 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Thanks for filing these tickets, Sayuri.
This might be caused by #8660?