Hello so I’ve been using the code that’s in the docs to make a page where there’s a searchbar and a list of items that should be clickable, it goes like this
<ion-header>
<ion-toolbar>
<ion-title>Page</ion-title>
</ion-toolbar>
</ion-header>
<ion-searchbar (ionInput)="getItems($event)"></ion-searchbar>
<ion-content>
<ion-list>
<button ion-item *ngFor="let item of items" (click)="itemSelected(item)">
{{ item }}
</button>
</ion-list>
</ion-content>
Yet when I look at it on the app it shows the items like normal buttons, like this:
What am I doing wrong?