Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48983

Textarea inside typing same text to entire item-list . e.g xx is typing to all ion-items. how can I solve this issue . Thanks in adavance

$
0
0
<ion-item *ngIf="lead_id == item.sch_lead" class="border" >

  <ion-label>

    <h2 style="text-align:center; color:black; font-size:20px; font-weight:bold" >Company:{{item.company}}</h2>

    <h2 style="margin: 5px;"><strong>Date:</strong>{{item.sch_date}}</h2>

    <h2 style="margin: 5px;"><strong>Time:</strong>{{item.sch_time}}</h2>

    <h2 style="margin: 5px;"><strong>Reason:</strong>{{item.sch_reason}}</h2>

  </ion-label>

  <ion-checkbox slot="end" [(ngModel)]="item.isChecked"   ></ion-checkbox>

</ion-item>

<div class="border" *ngIf="item.isChecked">

  <ion-textarea  placeholder="Notes" clearOnEdit="true" [(ngModel)]="notes"></ion-textarea>

</div>

<div style="text-align:center">

  <ion-button *ngIf="item.isChecked" (click)="saveNotes(item.sch_id)" >Save</ion-button>

</div>

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>