@Arman1124 wrote:
In .html file
…
<ion-input name=“address” type=“text” [(ngModel)]=“address”>
…
<button ion-button full (click)=“changeMe()” >
…in .ts file
changeMe(){
this.address=“abc”;
}when the button is clicked then it shows no update to input field .
only when i click on input field after clicking on button then only input is filled.
what i should do to auto populate the input area when the button is clicked.
I am new to ionic , any help guys.
Posts: 1
Participants: 1