Dropdown field in dialog appears shrinked in size | Community
Skip to main content
Level 9
July 18, 2016
Solved

Dropdown field in dialog appears shrinked in size

Hi All,

Details as below :

We have an issue wherein a dropdown field of type="select" and xtype="selection" with allowBlank="false", defaultValue="6" and itemId="sample" is there.

And itemId is used in one of the listener to show/hide this particular dropdown in the dialog.

Due to this, the dropdown is not appearing properly in the dialog and appearing as seen in the screenshot.

Any thoughts/solution on how to resolve this , will be really helpful.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
askdctmAccepted solution
Level 9
July 27, 2016

Hi All,

Thank you for your reply.

Was using selectionchanged event and the function "function(comp, val, isChecked){..} in the listener. Here in one of the conditions was checking if(val!=''). Removed this condition and it seems to be working ok for now.

17 replies

askdctmAuthor
Level 9
July 22, 2016

Hi All,

Any thoughts on this will be helpful.

Translate
askdctmAuthor
Level 9
July 21, 2016

Hi All,

Any thoughts on the above will be helpful.

Translate
askdctmAuthor
Level 9
July 20, 2016

Hi All,

Any thoughts on this will be helpful.

Translate
askdctmAuthor
Level 9
July 19, 2016

Hi Kautuk,

Thank you for your reply. But looks like its not helping.

Translate
kautuk_sahni
Employee
July 19, 2016

Hi 

Please try to use this component, and see if behavior still persist:

Link:- https://helpx.adobe.com/experience-manager/using/dialog_fields_servlets.html

~kautuk

Translate
Kautuk Sahni
askdctmAuthor
Level 9
July 19, 2016

HI All,

Any thoughts on this will be helpful.

Translate
askdctmAuthor
Level 9
July 18, 2016

Hi All,

Also, remember having heard somewhere that "layoutOnTabChange" property comes in handy to resolve this issue.

Any idea on where this property is to be used/reference links/pointers on this. Our component dialog has two dialogfieldset in a single tab. One of them has pathfield in it. The other has

#1] textfield

#2] xtype=selection based on which (#3 or #4 is displayed)

#3] a multifield of xtype="pathfield"(of type path is displayed)

#4] xtype = selection having a set of hardcoded dropdown values.

Translate