Skip to content

Commit

Permalink
FORMS-3696 sightly error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam Agarwal committed Sep 27, 2023
1 parent 24003c0 commit df70be2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
<option data-sly-test="${!isPlaceHolderSet}" role="none" style="display: none;"></option>
<option data-sly-test="${isPlaceHolderSet}" value="" disabled selected>${dropdown.placeHolder}</option>
<div data-sly-list.enumName="${dropdown.enumNames}" data-sly-unwrap>
<div data-sly-test="${enumName != null && dropdown.enums[enumNameList.index] != null}" data-sly-unwrap>
<div data-sly-test="${dropdown.enums[enumNameList.index] != null}" data-sly-unwrap>
<option value="${dropdown.enums[enumNameList.index].toString}"
class="cmp-adaptiveform-dropdown__option"
data-sly-attribute.selected="${dropdown.enums[enumNameList.index] in dropdown.default ? 'selected' : ''}">${enumName}</option>
data-sly-attribute.selected="${dropdown.enums[enumNameList.index] in dropdown.default ? 'selected' : ''}">${enumName.value}</option>
</div>
</div>
</select>
Expand Down

0 comments on commit df70be2

Please sign in to comment.