Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#1091 closed defect (fixed)

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);

Probably it woud make sense to move the trigger in the if block

Change History (4)

comment:1 Changed 16 years ago by dylan

Milestone: 0.4
Owner: changed from anonymous to dylan

comment:2 Changed 16 years ago by dylan

Status: newassigned

comment:3 Changed 15 years ago by dylan

Resolution: fixed
Status: assignedclosed

(In [5703]) fixes #1091, ComboBox?.valueChanged fires even when value has not changed, thanks for the bug report and suggestion

comment:4 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.