Posted 28 August 2019, 8:34 am EST
Values being added in following format, yet the item is not coming checked.
this.items = [{ name: 'Hotel', value: 'hotel', $checked: true }, { name: 'Multi Family', value: 'multiFamily', $checked: false }];
Forums Home / Wijmo / General Discussion
Posted by: reeshabh.choudhary on 28 August 2019, 8:34 am EST
Posted 28 August 2019, 8:34 am EST
Values being added in following format, yet the item is not coming checked.
this.items = [{ name: 'Hotel', value: 'hotel', $checked: true }, { name: 'Multi Family', value: 'multiFamily', $checked: false }];
Posted 28 August 2019, 11:56 pm EST
Hi Reeshabh,
We are sorry but we were not able to replicate the issue at our end. Please refer to the sample below that we used to replicate the issue:
https://stackblitz.com/edit/ckkyne-qmjbma
Feel free to modify the sample so that it reproduces the issue.
Also, you may assign an array to the checkedItems property to make some items checked:
this.items = [...];
this.multiSelect.checkedItems = [this.items[0]];
Regards,
Ashwin