Skip to content

Commit b53257b

Browse files
committed
AC-8077::Upgrade JQuery Validation Plugin library to the latest version
1 parent f4e1d75 commit b53257b

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
@@ -55,7 +55,8 @@ $viewModel = $block->getData('validateQuantityViewModel');
5555
data-selector="bundle_option[<?= $block->escapeHtmlAttr($_option->getId()) ?>]"
5656
<?php if ($block->isSelected($_selection)) { echo ' checked="checked"'; } ?>
5757
<?php if (!$_selection->isSaleable()) { echo ' disabled="disabled"'; } ?>
58-
value="<?= $block->escapeHtmlAttr($_selection->getSelectionId()) ?>"/>
58+
value="<?= $block->escapeHtmlAttr($_selection->getSelectionId()) ?>"
59+
data-errors-message-box="#validation-message-box-radio"/>
5960
<label class="label"
6061
for="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?>-<?= $block->escapeHtmlAttr($_selection->getSelectionId()) ?>">
6162
<span><?= /* @noEscape */ $block->getSelectionTitlePrice($_selection) ?></span>
@@ -65,6 +66,7 @@ $viewModel = $block->getData('validateQuantityViewModel');
6566
</div>
6667
<?php endforeach; ?>
6768
<div id="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?>-container"></div>
69+
<div id="validation-message-box-radio"></div>
6870
<?php endif; ?>
6971
<div class="field qty qty-holder">
7072
<label class="label" for="bundle-option-<?= $block->escapeHtmlAttr($_option->getId()) ?>-qty-input">

0 commit comments

Comments
 (0)