@pablobaldovi wrote:
Hi,
I m developing a simple app. I make a request obtaining a object like this;[{“name”:“device-1”, “code”:“00001”, “status”: true},
{“name”:“device-1”, “code”:“00001”, “status”: true},
{“name”:“device-1”, “code”:“00001”, “status”: true}]the i use a ngFor to display each as a toggle.
I can read the toggle value inside my page controller, but i cant change the value from the controler (for example to update the device status)
what’s de correct approach?
thanks
Posts: 1
Participants: 1