Skip to content

Commit 391ebe5

Browse files
veroglezbrianchandotcom
authored andcommitted
LPD-69789 Set the correct value when the input is read only
1 parent 07f9217 commit 391ebe5

File tree

1 file changed

+1
-1
lines changed
  • modules/apps/fragment/fragment-collection-contributor/fragment-collection-contributor-inputs/src/main/resources/com/liferay/fragment/collection/contributor/inputs/dependencies/select-from-list

1 file changed

+1
-1
lines changed

modules/apps/fragment/fragment-collection-contributor/fragment-collection-contributor-inputs/src/main/resources/com/liferay/fragment/collection/contributor/inputs/dependencies/select-from-list/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</label>
1212

1313
[#if input.readOnly]
14-
<input aria-describedby="${fragmentElementId}-help-text" aria-labelledby="${fragmentElementId}-select-from-list-input-label [#if input.errorMessage?has_content]${fragmentElementId}-select-from-list-input-error-message[/#if]" class="form-control" id="${fragmentElementId}-select-from-list-input" name="${input.name}" placeholder="${languageUtil.get(locale, "choose-an-option")}" [#if input.readOnly]readonly[/#if] ${input.required?then('required', '')} type="text" [#if input.value??]value="${input.value}"[/#if] />
14+
<input aria-describedby="${fragmentElementId}-help-text" aria-labelledby="${fragmentElementId}-select-from-list-input-label [#if input.errorMessage?has_content]${fragmentElementId}-select-from-list-input-error-message[/#if]" class="form-control" id="${fragmentElementId}-select-from-list-input" name="${input.name}" placeholder="${languageUtil.get(locale, "choose-an-option")}" [#if input.readOnly]readonly[/#if] ${input.required?then('required', '')} type="text" [#if input.attributes.selectedOptionLabel??]value="${input.attributes.selectedOptionLabel}"[/#if] />
1515
[#else]
1616
<div class="d-flex">
1717
<div class="align-items-end input-group">

0 commit comments

Comments
 (0)