<nz-select style="width: 150px;" class="ml10" nzShowSearch nzAllowClear nzPlaceHolder="" [(ngModel)]="selectedValueRent" (ngModelChange)="search(searchApartmentList,$event.split(";"),searchResourceList)" >
<nz-option nzLabel="{{item.text}}" nzValue="{{item.value}}" *ngFor="let item of filterRentList" (click)="filter("rent_status",item.value)"></nz-option>
I hope it becomes an empty array [] when it is null, instead of null reporting an error
, what should I write