а

Initlize checkbox in menu throug html


#1

I’m initializing my menu through html. However I can’t get a checkbox to render. How can I add a checkbox through html for a menu?

Example menu in html

<div id="view" img="fa fa-eye" text="View">
    ...
    <div id="showMIlestoneLabel" type="checkbox" text="Show Summary Labels"></div>

</div>

#2

Unfortunately the problem cannot be reconstructed locally.
Your code works well for me locally:
http://snippet.dhtmlx.com/e32a2e106
If the problem still occurs for you please, provide a complete demo, where the issue can be reconstructed.


#3

I’m not sure either, I copy and pasted the div you had for the checkbox and it seems to work fine now. Thanks.