I am trying to hide ng-option
elements based on condition...there is an attribute for disabling the option..but is there any attribute to hide them?
<ng-select class="w-100" (change)="checkingCategory()" formControlName="category" id="category"
name="category" placeholder="-Select Category-" bindValue="value">
<ng-option [disabled]="category.key == 'BPF' || category.key == 'ENT'" *ngFor="let category of categoryMap | keyvalue" value={{category.key}}>
{{category.key}}-{{category.value}}
</ng-option>
</ng-select>