Ionic Selectable not work on Two-Way Binding

Ionic Selectable not working on Two-Way Binding.

  1. does Ionic Selectable work on Two-Way Binding in ionic 4? if yes, how to do???

            <ionic-selectable

             [(ngModel)]="user.city"

              [(items)]="cities"

              itemValueField="id"

              itemTextField="cityname"  

              [canSearch]="true"

              (onChange)="portChange($event)">

            </ionic-selectable>

I’ve never previously heard of <ionic-selectable>. If this is something you paid for, I would suggest asking for support from its author.

Check the documentation here: https://github.com/eakoriakin/ionic-selectable/wiki and i will suggest you use reactive form instead

2 Likes