In Ionic Ion-segment-button

In first view,the segment Value(Thismonth) shows empty space.if we click that empty space its shows the segment value as (Thisyear).

For example
Today,This Month,This year


Getting error like this…


 <div padding>
      <ion-segment [(ngModel)]="attendance" (ionChange)="updatePage(attendance)">
        <ion-segment-button value="Today">
        <ion-segment-button value="Thismonth">
          This Month
        <ion-segment-button value="Thisyear">
          This Year

Don’t use both ionChange and ngModel. Follow the code example in the official docs.

error cleared thank u…

I have same issue. I try using this documentation.I need to trace the ion-segment change value.