Skip to content

Commit ed1df5f

Browse files
author
rani-webkul
committed
Resolved File type custom option value not showing properly in minicart #24236
1 parent 0c12706 commit ed1df5f

File tree

1 file changed

+4
-1
lines changed
  • app/code/Magento/Checkout/view/frontend/web/template/minicart/item

1 file changed

+4
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/template/minicart/item/default.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@
4444
<!-- ko if: Array.isArray(option.value) -->
4545
<span data-bind="html: option.value.join('<br>')"></span>
4646
<!-- /ko -->
47-
<!-- ko ifnot: Array.isArray(option.value) -->
47+
<!-- ko if: (!Array.isArray(option.value) && option.option_type == 'file') -->
48+
<span data-bind="html: option.value"></span>
49+
<!-- /ko -->
50+
<!-- ko if: (!Array.isArray(option.value) && option.option_type != 'file') -->
4851
<span data-bind="text: option.value"></span>
4952
<!-- /ko -->
5053
</dd>

0 commit comments

Comments
 (0)