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");
Chinadromi
Posts: 25
Joined: Mon Jan 03, 2022 1:45 am

-

Hello guys, I dont understand very well this regex so I ask for some help if posible. I got this input :<input type=hidden value=12345 name=name1>and I want to extract the value 12345 How can I do this ? Regards

Return to “Issues”