Skip to content

Commit f3920a9

Browse files
committed
Issue 35284: Hitting enter when configuring a product to add to order in admin does not save the custom options
1 parent e0d650c commit f3920a9

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/composite

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/composite/configure.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ $blockId = $block->getId();
7070
7171
require([
7272
"jquery",
73-
"mage/mage"
73+
"mage/validation"
7474
], function(jQuery){
7575
jQuery('.product_composite_configure_form').each(function () {
76-
jQuery(this).mage('form').mage('validation');
76+
jQuery(this).validation({errorElement: 'label'}).valid();
7777
});
7878
});
7979
script;

0 commit comments

Comments
 (0)