supriya hirurkar
Posts: 0
Joined: Fri Aug 30, 2013 8:57 pm

Check-box does not render when the value from the REST response is false

Hello, I spent a lot of time over this issue but dont seem to get the solution.
I have a checkbox on the page and a REST response decides whether it is checked or not. When the response is true, the checkbox renders (with the check mark which is right) but it does not render at all when the response is false. I still want it to render with no check mark. Please help.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Check-box does not render when the value from the REST response is false

Hi Supriya,

Please post screenshots of your service mapping and response.

supriya hirurkar
Posts: 0
Joined: Fri Aug 30, 2013 8:57 pm

Check-box does not render when the value from the REST response is false

Well, got it working and it is much simpler now.
Set the Boolean value from REST response to a local variable and then used that value to set my check box checked and unchecked.
Thanks anyway!

Return to “Issues”