Angular Multi-select default checkeditems set

Posted by: kun.leeing on 20 April 2022, 4:36 pm EST

  • Posted 20 April 2022, 4:36 pm EST

    Hi 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
    <wj-multi-select #s

    In the ngOnChanges, I do this.
    this.multiSelect.checkedItems = this.items.filter(x => this.filter.selectedIds.includes(;
  • Replied 24 April 2022, 7:17 pm EST


    We apologize but we are unable to replicate the issue at our end, could you please provide a small sample replicating the issue so that we can investigate the issue at our end and assist you accordingly?

    Also, please refresh the multiSelect collectionView using the refresh() method on multiSelect.collectionView after you update the checkedItems of MultiSelect, it would refresh the content as per the latest update, which might help.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels