Hi !
I am developing a calendar application in which I have to list the events of one day but the problem that when I click on a date and click on another the events of the first day is displayed in my list with the new events of the seconde date
I tried to reset my page each time I click on a date but it’s the disaster he can not show me anything
what can i do.
I tried again this solution which serves absolutely nothing
Home.ts
stopCache(Day){
for (var j = 0; j < this.i; j++) {
this.arr[this.i]=[];
}
Home.html
Events
<ion-list show-delete=“data.show-delete” *ngFor=“let item of arr”>
<button ion-item (click)=“EventDetails(item)”>
Title: {{item.Title}}
I am looking for a solution that removes the contents of the list from each click.
Thank you,
Islem Louati