I have a front element like this :
<nui-checkbox *ngFor="let optionManual of searchManuals | async" size="small" shape="round" fill="outline"
(nuiChange)="selectManualOption(optionManual.manualId, $event.detail.checked)"
[checked]="search.manualId.indexOf(optionManual.manualId) > -1">
<span slot="end" class="button-inner"><span class="product-code">{{ optionManual.productCode }}</span><span
class="volume" *ngIf="optionManual.pmVolumeText"> {{ optionManual.pmVolumeText }}</span>
<nui-pill> {{ optionManual.language }}</nui-pill>
</span>
<div class="button-effect"></div>
</nui-checkbox>
I have to add a new feature and this feature have to filter the array this.search.manualId
.
But when I call my function to filter it, it's trigger the change of some checkboxes on the component nui-checkbox
, because, I guess, the indexOf
in the checked
property is changing.
Any idea to solve this issue ?
search.manualId
? - RandomselectManualOption
is trigger but my new function don't call it. - Malkom