ComboBox.valueChanged fires even when value has not changed
Reported by: |
guest |
Owned by: |
dylan |
Priority:
|
high
|
Milestone:
|
|
Component:
|
Widgets
|
Version:
|
0.3
|
Keywords:
|
|
Cc:
|
|
Blocked By:
|
|
Blocking:
|
|
setValue: function(value) {
this.comboBoxValue.value = value;
if (this.textInputNode.value != value) { // prevent mucking up of selection
this.textInputNode.value = value;
}
dojo.widget.html.stabile.setState(this.widgetId, this.getState(), true);
this.onValueChanged(value);
}
Probably it woud make sense to move the trigger in the if block
Change History (4)
Milestone: |
→ 0.4
|
Owner: |
changed from anonymous to dylan
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
(In [5703]) fixes #1091, ComboBox?.valueChanged fires even when value has not changed, thanks for the bug report and suggestion