diff --git a/wire/modules/Inputfield/InputfieldSelect.module b/wire/modules/Inputfield/InputfieldSelect.module index 83731524..534835cf 100644 --- a/wire/modules/Inputfield/InputfieldSelect.module +++ b/wire/modules/Inputfield/InputfieldSelect.module @@ -260,7 +260,8 @@ class InputfieldSelect extends Inputfield { reset($options); $key = key($options); $hasBlankOption = empty($key); - if($allowBlank && !$this->required && !$this->attr('multiple') && !$hasBlankOption) { + if($allowBlank && !$hasBlankOption && !$this->attr('multiple') + && (!$this->required || ($this->hasFieldtype == 'FieldtypeOptions' && !$this->attr('value')))) { $out .= ""; }