[Dojo-checkins] [dojo] #10300: [regression] ComboBox inheritance not working
dojo
trac at dojotoolkit.org
Mon Nov 9 14:18:29 EST 2009
#10300: [regression] ComboBox inheritance not working
----------------------+-----------------------------------------------------
Reporter: doughays | Owner: bill
Type: defect | Status: new
Priority: high | Milestone: 1.4
Component: Dijit | Version: 1.4.0b
Severity: critical | Keywords:
----------------------+-----------------------------------------------------
Beginning with [20738], ComboBox is not working correctly. If you down
arrow until More Choices and then TAB away, then the box value remains
More choices instead of being reset to the last value. To recreate:[[BR]]
1) load
dijit/tests/form/_autoComplete.html?testWidget=dijit.form.ComboBox[[BR]]
2) find the box labeled "With option tags, autoComplete=true, pageSize=30,
and a descending sort"[[BR]]
3) focus and down arrow until More choices is selected[[BR]]
4) press TAB[[BR]]
The value should revert to California but it stays More choices.[[BR]]
ComboBox calls dijit.form.ValidationTextBox.prototype._setValueAttr[[BR]]
which calls this.inherited(arguments) which no longer calls
TextBox:_setValueAttr even though ValidationTextBox inherits from TextBox.
This works fine in 1.3.2. Assigning to bill since I don't know if
ComboBox is doing inheritance incorrectly or if the new core changes to
dojo.declare are broken.
--
Ticket URL: <http://trac.dojotoolkit.org/ticket/10300>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit
More information about the Dojo-checkins
mailing list