Ionic Selectable is an Ionic versatile and highly customizable component that serves as a replacement to Ionic Select, and allows to search items, including async search, create items, customize the layout with templates and much more. It provides an intuitive API and is easy to set up and use.
MIT License
550
stars
123
forks
source link
Switching from ionic-selectable to @ionic-selectable/angular triggers many errors in Ionic 6 #408
Since I switched from ionic-selectable 4.9.0 to @ionic-selectable/angular 5.0.0-alpha.19, I got many errors in my console:
List goes on and on.
It seems that @ionic-selectable/angular@5.0.0-alpha.19 has a peer dep on "@ionic/core": "5.x", while my project is an Ionic 6 project.
Any way to solve that?
My
ionic info
:Detail
``` Ionic: Ionic CLI : 6.20.4 (/Users/manu/.nvm/versions/node/v14.20.1/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 6.4.0 @angular-devkit/build-angular : 15.0.3 @angular-devkit/schematics : 15.0.3 @angular/cli : 15.0.3 @ionic/angular-toolkit : 6.1.0 Capacitor: Capacitor CLI : 4.6.1 @capacitor/android : not installed @capacitor/core : 4.6.1 @capacitor/ios : not installed Utility: cordova-res : not installed globally native-run : 1.7.1 System: NodeJS : v14.20.1 (/Users/manu/.nvm/versions/node/v14.20.1/bin/node) npm : 9.1.2 OS : macOS Monterey ```Steps to reproduce:
npm i -g @ionic/cli
(to install Ionic v6)ionic start test-ionic-selectable blank --type=angular
cd test-ionic-selectable
ionic serve