Open turnono opened 6 years ago
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!
<ion-auto-complete (itemSelected)="selectedLocation($event)" [dataProvider]="citiesProvider"></ion-auto-complete>
you still need to add AutoCompleteModule to @NgModule({imports: [ same as in ionic 3
AutoCompleteModule
@NgModule({imports: [
Check out ionic4-auto-complete
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