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 b3d9a05 commit 53d861aCopy full SHA for 53d861a
app/code/Magento/Eav/Model/Attribute/Data/Text.php
@@ -72,7 +72,7 @@ public function validateValue($value)
72
return true;
73
}
74
75
- if (empty($value) && $value !== '0') {
+ if (empty($value) && $value !== '0' && $attribute->getDefaultValue() == NULL) {
76
$label = __($attribute->getStoreLabel());
77
$errors[] = __('"%1" is a required value.', $label);
78
0 commit comments