cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Using json to un-check/deselect a checkbox

SOLVED
Participant

Using json to un-check/deselect a checkbox

I have an application where I'm reusing a popup (There are 4 different buttons that cause the same popup to be displayed). Each time the popup is displayed, I'm clearing out any data that was in it, but I can't figure out the syntax to un-check a checkbox. I've tried .checked = false or .selected = false but no luck. Any suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Using json to un-check/deselect a checkbox

Thanks, that worked!

View solution in original post

2 REPLIES 2

Re: Using json to un-check/deselect a checkbox

try $scope.view.wdg['checkbox-2']['value'] = false;

 

or,    .... .value=false;

Re: Using json to un-check/deselect a checkbox

Thanks, that worked!

View solution in original post