Hi Team,
I am encountering an issue with the asset selector. When I create the widget for the first time, the multi-checkbox selection works correctly, and the widget is saved to the dashboard without any problems.
However, when I edit the widget later, the previously selected checkboxes are shown as expected. But when I try to uncheck one of them, the first click returns isSelected = true
, and only on the second click does it return isSelected = false
. After that, the checkbox toggling works correctly.
Please look into this issue.
For your reference I am attaching screenshot
code…
<c8y-asset-selector-miller
[(ngModel)]=“this.config.selectedGroupDevice”
(onSelected)=“selectionChanged($event)”
[config]="{
groupsSelectable: true,
multi: true,
columnHeaders: true,
singleColumn: true,
showFilter: true,
search:true,
required: true,
showSelected: true,
showChildDevices: true,
}"
[asset]="rootNode$ | async"
class="bg-component"
></c8y-asset-selector-miller>
Thank you.