Skip to content

Commit 5b34914

Browse files
committed
AC-8077::Upgrade JQuery Validation Plugin library to the latest version
1 parent 4fd2f7e commit 5b34914

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Bundle/view/frontend/templates/catalog/product/view/type/bundle/option

1 file changed

+3
-1
lines changed

app/code/Magento/Bundle/view/frontend/templates/catalog/product/view/type/bundle/option/radio.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ $viewModel = $block->getData('validateQuantityViewModel');
5858
data-selector="bundle_option[<?= $block->escapeHtmlAttr($_option->getId()) ?>]"
5959
<?php if ($block->isSelected($_selection)) { echo ' checked="checked"'; } ?>
6060
<?php if (!$_selection->isSaleable()) { echo ' disabled="disabled"'; } ?>
61-
value="<?= $block->escapeHtmlAttr($_selection->getSelectionId()) ?>"/>
61+
value="<?= $block->escapeHtmlAttr($_selection->getSelectionId()) ?>"
62+
data-errors-message-box="#validation-message-box-radio"/>
6263
<label class="label"
6364
for="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?>
6465
-<?= $block->escapeHtmlAttr($_selection->getSelectionId()) ?>">
@@ -69,6 +70,7 @@ $viewModel = $block->getData('validateQuantityViewModel');
6970
</div>
7071
<?php endforeach; ?>
7172
<div id="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?>-container"></div>
73+
<div id="validation-message-box-radio"></div>
7274
<?php endif; ?>
7375
<div class="field qty qty-holder">
7476
<label class="label" for="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?>-qty-input">

0 commit comments

Comments
 (0)