Skip to content

Commit 293606b

Browse files
committed
MC-42249: No form validation for negative quantity on bundle products
- Fixed the static test bug.
1 parent 3a4f503 commit 293606b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Bundle/view/base/web/js/price-bundle.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ define([
132132
.selections[field.data('optionValueId')];
133133
optionConfig.qty = field.val();
134134

135-
if(field.valid())
135+
if (field.valid()) {
136136
optionInstance.trigger('change');
137+
}
137138
}
138139
},
139140

0 commit comments

Comments
 (0)