Hi Am trying to achieve an html where when you click a radio button, I want to update my Obj.
so when I click save button I will send my Obj to api to save the data.
My problem is I am lost on how to make a radio button that will update my obj?
is this posible.?
scope.Obj = [
{
"condition": "Question1",
"status": ""
},
{
"condition": "Question2",
"status": ""
},
{
"condition": "Question3",
"status": ""
}
]
HTML OUTPUT
Question Status (Radio Button)
Question1 yes[] no[]
Question2 yes[] no[]
Question3 yes[] no[]
[ Save ]