Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ion-input does not display the changed value

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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