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 6cb3302 commit 08ef533Copy full SHA for 08ef533
lib/web/mage/validation/validation.js
@@ -20,12 +20,12 @@ define([
20
}
21
22
// eslint-disable-next-line one-var
23
- let $allInputs = $(element)
24
- .closest('.fieldset')
+ let allInputs = $(element)
+ .closest('#super-product-table')
25
.find('input[data-validate*="validate-grouped-qty"]');
26
27
- if ($allInputs.first().is(element)) {
28
- return $allInputs.toArray().some(input => parseFloat($(input).val()) > 0);
+ if (allInputs.first().is(element)) {
+ return allInputs.toArray().some(input => parseFloat($(input).val()) > 0);
29
30
31
return true;
0 commit comments