diff --git a/forms/DropdownField.php b/forms/DropdownField.php index 861a26686..89feef34a 100644 --- a/forms/DropdownField.php +++ b/forms/DropdownField.php @@ -362,7 +362,9 @@ class DropdownField extends FormField { */ public function castedCopy($classOrCopy) { $field = parent::castedCopy($classOrCopy); - $field->setHasEmptyDefault($this->getHasEmptyDefault()); + if($field->hasMethod('setHasEmptyDefault')) { + $field->setHasEmptyDefault($this->getHasEmptyDefault()); + } return $field; } }