Posts: 7
Joined: Tue Sep 01, 2020 7:11 pm
Contact: Send private message

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
Contact: Send private message

Re: Ion input value to storage variable


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");
Posts: 27
Joined: Mon Jan 03, 2022 1:45 am
Contact: Send private message


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”

Who is online

Users browsing this forum: No registered users and 1 guest