dtan
Posts: 7
Joined: Tue Sep 01, 2020 7:11 pm

Ion input value to storage variable

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Re: Ion input value to storage variable

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");

Return to “Issues”