Posted 20 April 2022, 4:36 pm ESTHi guys,
Trying to set values for checkeditems. I can see it loaded and set checkeditems by breakpoint at the line of setting this.multiSelect.checkedItems but after released the stop, it will turn to be all unchecked right away.
I have clear the all of unnecessary code, but
In the ngOnChanges, I do this.
this.multiSelect.checkedItems = this.items.filter(x => this.filter.selectedIds.includes(x.item.id));