diff --git a/src/app/components/multiselect/multiselect.ts b/src/app/components/multiselect/multiselect.ts index 171ef381b35..f73f6efbd49 100755 --- a/src/app/components/multiselect/multiselect.ts +++ b/src/app/components/multiselect/multiselect.ts @@ -1355,9 +1355,9 @@ export class MultiSelect implements OnInit, AfterViewInit, AfterContentInit, Aft let selected = this.isSelected(option); let value = null; - if (selected) { value = this.modelValue().filter((val) => !ObjectUtils.equals(val, this.getOptionValue(option), this.equalityKey())); + this.onRemove.emit({ newValue: this.value, removed: this.getOptionValue(option) }); } else { value = [...(this.modelValue() || []), this.getOptionValue(option)]; }