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.
2 parents adee85d + 3cf1818 commit 691f18bCopy full SHA for 691f18b
app/code/Magento/Eav/Model/Attribute/Data/Text.php
@@ -75,6 +75,8 @@ public function validateValue($value)
75
if (empty($value) && $value !== '0' && $attribute->getDefaultValue() === null) {
76
$label = __($attribute->getStoreLabel());
77
$errors[] = __('"%1" is a required value.', $label);
78
+
79
+ return $errors;
80
}
81
82
$validateLengthResult = $this->validateLength($attribute, $value);
0 commit comments