You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have multiple yes/no radio buttons and I have one that I want to use to set the values for all the others, a "All Yes/All No" radio button. I have a callback on the change to set the model values, but it doesn't actually update the ui.
I also have a need to be able to pre-populate the form with saved answers if a user comes back to the form, which I assume will be a similar function.
How do I set the model value and get the ui to update with the correct values?
Here is what I'm doing when the user toggles the all yes/no radio.
This might help. Other than possibly needing a $scope.$apply() though, I don't see anything wrong with your code or why it wouldn't work like you are expecting.
Question
I have multiple yes/no radio buttons and I have one that I want to use to set the values for all the others, a "All Yes/All No" radio button. I have a callback on the change to set the model values, but it doesn't actually update the ui.
I also have a need to be able to pre-populate the form with saved answers if a user comes back to the form, which I assume will be a similar function.
How do I set the model value and get the ui to update with the correct values?
Here is what I'm doing when the user toggles the all yes/no radio.
Here is my form schema for that particular all yes/no field
The text was updated successfully, but these errors were encountered: