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
BedrockMission!

Learn More

View all

Sign in to view all badges

checkbox Issue (classic ui)

Avatar

Avatar
Validate 1
Level 3
shaheenas113483
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 3
shaheenas113483
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
shaheenas113483
Level 3

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)