How to iterate the array inside the select-searchable in ionic3?


#1

Hello to all,
I have to implement the city filter and i am using [items]=“stateArray” but its not working for me tell me anyone how to iterate array inside the in ionic3?

 <select-searchable
    [(ngModel)]="port10"
          [items]="stateArray"
          itemValueField="id"
            itemTextField="name"
         (onChange)="getCityByStatWise($event)">
  </select-searchable>