Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

checkbox Issue (classic ui)

shaheenas113483
Level 4
Level 4

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)

0 Replies