Ion input value to storage variable
Posted: Fri Nov 27, 2020 5:32 pm
How do I set the value of a storage variable to the value of a ion input on the screen? I can't seem to reference the input control in my TypeScript.
Thanks in advance.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How do I set the value of a storage variable to the value of a ion input on the screen? I can't seem to reference the input control in my TypeScript.
Thanks in advance.
Hello,
Please set the value to the variable, which you use un the property [(ngModel)] of that component, e.g.:
Code: Select all
this.myVariable = this.Apperyio.data.getVariable("varName");