I have placed a TextField in my .html file
<TextField class="textfield" row="0" col="1" formControlName="powersupplyid" [text]='myipdevice'> </TextField>
I am looking for a way to automatically save the value when 'myipdevice' is displayed on the screen.
getform() {
..........
.....
this.myipdevice = myipfind;
console.log('Value found', this.myipdevice)
let LS = require("nativescript-localstorage");
LS.setItem(this.myipdevice);
}
Does anyone have an idea on how to automatically save the value of myipdevice
when it is shown in the html?
Thank you!