by clicking button how to get textbox value in ionic6 code example
Example 1: iocic on text change function
<ion-item>
<ion-input [(ngModel)]="nickname" (keypress)="onChange($event)" ></ion-input>
</ion-item>
Example 2: ionic disable input field
<ion-item class="order__status-comments">
<ion-label floating>Observação</ion-label>
<ion-input formControlName="comments" [readonly]="status_loading" type="text"></ion-input>
</ion-item>