How to start a checkbox already checkmarked?

0 votes
asked Sep 9, 2016 in Help by jay
Hi All,

How can I start add a checkbox that is already checkmarked? Right now if I add a checkbox in, it is unchecked, and the only way to check is it to click on it. But I want it to be checked right at the start. Turning "Is On" to true is not working.

commented Sep 19, 2016 by admin (31,720 points)
Hi jay,

Are you trying to add the checkbox at design time or runtime? How are you adding it?

~ Declan.
commented Sep 19, 2016 by jay
Design time, I am adding it through the editor.
commented Sep 20, 2016 by admin (31,720 points)
You should be able to toggle the 'is on' option in the Toggle component, which will allow it to start checked :)

~ Declan.
commented Sep 23, 2016 by jay

Toggling the "is on" option is not working. It is still not checkmarked. Can you please try it, does that work for you?
commented Sep 30, 2016 by jay
Please help.
commented Oct 14, 2016 by admin (31,720 points)
Do you have CanvasScaler + MaterialUIScaler components attached to the root canvas of the checkbox? Does toggling 'is on' work for a newly-created checkbox? Apologies for the delay.

~ Declan.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Welcome to MaterialUI support! Ask us anything :)