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

The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.

Using json to un-check/deselect a checkbox

jlbrenneke
6-Contributor

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?

ACCEPTED SOLUTION

Accepted Solutions

Thanks, that worked!

View solution in original post

2 REPLIES 2

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

 

or,    .... .value=false;

Thanks, that worked!

Announcements

Top Tags