I have added a checkbox to my dialog. First time clicking on the button to open the dialog, i can see the checkbox, but on next click on the button to open the dialog, i cant see the checkbox. though i can see the field description and field label 3/4 times, one after the other.
When I remove the ID from the code of checkbox, everything works fine, but when i add the line of code which has ID, i face the same issue again.
Code:
"fish": {
"xtype": "checkbox",
"fieldLabel": CQ.I18n.getMessage("fishes"),
"fieldDescription": CQ.I18n.getMessage("fish!"),
"name":"fish",
"id": "fish"
}
first attempt on button click:

next attempts on button click:

(there is no loop in the code)