We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f130812 commit 838f08fCopy full SHA for 838f08f
app/code/Magento/Checkout/view/frontend/templates/cart/item/configure/updatecart.phtml
@@ -19,7 +19,7 @@
19
<div class="control">
20
<input type="number" name="qty" id="qty" maxlength="12" value=""
21
title="<?php echo $block->escapeHtml(__('Qty')); ?>"
22
- class="input-text qty" data-validate="{'required-number':true,digits:true}"/>
+ class="input-text qty" data-validate="<?= $block->escapeHtml(json_encode($block->getQuantityValidators())) ?>"/>
23
</div>
24
25
<?php endif; ?>
0 commit comments