Highlighted

checkbox Issue (classic ui)

shaheenas113483

19-06-2019

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:

Screenshot 2019-06-19 at 1.00.33 PM.png

next attempts on button click:

Screenshot 2019-06-19 at 1.00.43 PM.png

(there is no loop in the code)