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 212a533 commit 8617785Copy full SHA for 8617785
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