How do I uncheck all radio buttons in a group? I'm trying to add a "save and reset" button to a form so the data posts and then the form resets.
Initially, when the form loads, no radio button is checked. Then the user checks a button and saves the form. A reset function is called. In it I set the view model property that is bound to radio checked to null. I would think that should uncheck the radio group but it doesn't.
Here's a jsbin.
Thanks,
Jon
Initially, when the form loads, no radio button is checked. Then the user checks a button and saves the form. A reset function is called. In it I set the view model property that is bound to radio checked to null. I would think that should uncheck the radio group but it doesn't.
Here's a jsbin.
Thanks,
Jon