Skip to content

Commit

Permalink
Merge pull request #614 from reinoboonstra/master
Browse files Browse the repository at this point in the history
#613 Fix: Cannot add property 0, object is not extensible
  • Loading branch information
CuppaLabs authored Nov 13, 2023
2 parents 459f6d4 + 3a7fd6d commit efb608a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -376,7 +376,7 @@ export class AngularMultiSelect implements OnInit, ControlValueAccessor, OnChang
this.closeDropdown();
}
else
this.selectedItems.push(item);
this.selectedItems = [...this.selectedItems, item];
this.onChangeCallback(this.selectedItems);
this.onTouchedCallback(this.selectedItems);
}

0 comments on commit efb608a

Please sign in to comment.