Skip to content

Commit

Permalink
form.field.ComboBox: fireChangeEvent() => enable firing change events…
Browse files Browse the repository at this point in the history
… for null when forceSelection is enabled #6325
  • Loading branch information
tobiu committed Jan 28, 2025
1 parent de5ad5b commit 8c15c6b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/form/field/ComboBox.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,7 @@ class ComboBox extends Picker {
fireChangeEvent(value, oldValue) {
let me = this,
FormContainer = Neo.form?.Container,
params;

if (!(me.forceSelection && !value)) {
params = {component: me, oldValue, value};
params = {component: me, oldValue, value};

me.fire('change', params);

Expand All @@ -464,7 +461,6 @@ class ComboBox extends Picker {
}
})
}
}
}

/**
Expand Down

0 comments on commit 8c15c6b

Please sign in to comment.