ngModel in Ionic


Hey i am doing a task in which i am required to get some results when user clicks on checkbox. I think ngModel is not working on it so i am doing like this,


When user clicks on a checkbox i sent that value in a function and print it. But my problem is that when i ask user for there input in another answer, 1st checkbox answer dissapears, I want to retain that answer.

Thank You


just give the 2nd Input another ngmodel.

they share their value all together, so if you Change it somewhere, it changes everywhere


I think you miss-understood, these questions are from a web panel so i can’t know how many questions i have so how can i possibly put exact number of ngModels ? Thanks