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 8529944 commit 149f84fCopy full SHA for 149f84f
app/code/Magento/Backend/view/adminhtml/web/js/validate-store.js
@@ -53,6 +53,7 @@ define([
53
if ($(form).validation('isValid')) {
54
$.each($(form).serializeArray(), function () {
55
counts[this.name] = (counts[this.name] || 0) + 1;
56
+
57
if (formData[this.name]) {
58
this.name = this.name.replace(new RegExp(/\[\]$/g), '[' + (counts[this.name] - 1) + ']');
59
}
0 commit comments