diff --git a/api/src/Etemplate/Widget/Select.php b/api/src/Etemplate/Widget/Select.php index 7645a239d2..9f11df835c 100644 --- a/api/src/Etemplate/Widget/Select.php +++ b/api/src/Etemplate/Widget/Select.php @@ -171,7 +171,8 @@ class Select extends Etemplate\Widget } $allowed = array_map('strval', $allowed); - if (!$multiple || $this->attrs['multiple'] === "dynamic") $allowed[] = ''; + // Add empty as an option, we check for required value later + $allowed[] = ''; foreach((array) $value as $val) {