ionic2-autocomplete icon indicating copy to clipboard operation
ionic2-autocomplete copied to clipboard

Not working in Ionic 4

Open turnono opened this issue 6 years ago • 2 comments

It was working fine in Ionic 3. But since i a have upgraded to Ionic 4, I am getting the below error:

ERROR Error: Uncaught (in promise): Error: StaticInjectorError(AppModule)[Searchbar -> Platform]: StaticInjectorError(Platform: core)[Searchbar -> Platform]: NullInjectorError: No provider for Platform!


my code

<ion-auto-complete (itemSelected)="selectedLocation($event)" [dataProvider]="citiesProvider"></ion-auto-complete>

turnono avatar Aug 20 '18 18:08 turnono

you still need to add AutoCompleteModule to @NgModule({imports: [ same as in ionic 3

RELAXccc avatar Sep 27 '18 13:09 RELAXccc

Check out ionic4-auto-complete

jrquick17 avatar Sep 11 '19 13:09 jrquick17