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

Update value of ion-input

$
0
0

@CapCa wrote:

Hello,
I would like to update the value of ion-input. I tried out multiple examples:

bind value
ion-input [value]="control.input.value" type="text"
--> update in class with ( (this.control)).updateValue('dummy');

bind with model
ion-input [(ngModel)]="inputField" type="text"
--> update in class with this.inputField = 'dummy';

All this works in desktop browser, but unfortunatly on Android it fails. Thank you for your advices :slightly_smiling:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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