Skip to content

Commit

Permalink
FORMS-14013 - Fixing default value check in dropdown (#1199)
Browse files Browse the repository at this point in the history
  • Loading branch information
TalmizAhmed committed Apr 23, 2024
1 parent 7851278 commit 63e3561
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
data-sly-attribute.multiple="${dropdown.isMultiSelect ? 'multiple' : ''}"
aria-readonly="${dropdown.readOnly ? 'true' : ''}">
<div data-sly-test.isPlaceHolderSet="${dropdown.placeHolder != null}" data-sly-unwrap></div>
<option data-sly-test="${!isPlaceHolderSet}" style="display: none;"></option>
<option data-sly-test="${!isPlaceHolderSet}" disabled selected></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>
Expand Down

0 comments on commit 63e3561

Please sign in to comment.