Initlize checkbox in menu throug html

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>


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

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