Skip to content

Commit 9aa4cfa

Browse files
committed
updating code to handle misleading error in add product attribute screen by make error message more genric
1 parent 9b01481 commit 9aa4cfa

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/lib/validation

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/lib/validation/rules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ define([
747747
function (value) {
748748
return utils.isEmptyNoTrim(value) || /^[a-z]+[a-z0-9_]+$/.test(value);
749749
},
750-
$.mage.__('Please use only letters (a-z), numbers (0-9) or underscore (_) in this field, and the first character should be a letter.')//eslint-disable-line max-len
750+
$.mage.__('Please use only lowercase letters (a-z), numbers (0-9) or underscore (_) in this field, and the first character should be a letter.')//eslint-disable-line max-len
751751
],
752752
'validate-alphanum': [
753753
function (value) {

0 commit comments

Comments
 (0)