Expand my Community achievements bar.

SOLVED

Issue with AEM6 Adaptive Form DropDown

Avatar

Level 4

Hello,

I'm using DropDown List Component (fd/af/components/guidedropdownlist).
And in generated HTML <select> with attribute size="1".

Example:
 

<select name="guideContainer-rootPanel-Panel1-guidedropdownlist___jqName" style="width: 100%; height: 100%; box-sizing: border-box; position: relative;" size="1" role="combobox" tabindex="0" aria-label="State" id="guideContainer-rootPanel-Panel1-guidedropdownlist___widget"> <option id="emptyValue" role="listitem" value="" style="display: none;" selected="selected"></option> <option role="option" value="Select a State">Select a State</option> <option role="option" value="Alabama">Alabama</option> </select>

Is there a way to get rid of this attribute?

Thank you

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Is there any specific reason that you want to remove that ?

I think, you can override the fd/af/components/guidedropdownlist, make the changes accordingly with the widget and use it.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

Is there any specific reason that you want to remove that ?

I think, you can override the fd/af/components/guidedropdownlist, make the changes accordingly with the widget and use it.