Skip to content

Commit b20f917

Browse files
MAGETWO-54176: Wrong quantity validation for bundle option lines
1 parent 29d72c0 commit b20f917

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier

1 file changed

+2
-1
lines changed

app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/BundlePanel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,8 @@ protected function getBundleSelections()
642642
'sortOrder' => 100,
643643
'validation' => [
644644
'required-entry' => true,
645-
'validate-zero-or-greater' => true
645+
'validate-number' => true,
646+
'validate-greater-than-zero' => true
646647
],
647648
'imports' => [
648649
'isInteger' => '${ $.provider }:${ $.parentScope }.selection_qty_is_integer'

0 commit comments

Comments
 (0)