diff --git a/inc/Form/DropdownElement.php b/inc/Form/DropdownElement.php index 6a2147d0aaea9bcf25b1dee3a9e3e5db04877a61..34372fa2c6925ca5d3b30359126b776c39268632 100644 --- a/inc/Form/DropdownElement.php +++ b/inc/Form/DropdownElement.php @@ -21,6 +21,7 @@ class DropdownElement extends InputElement { */ public function __construct($name, $options, $label = '') { parent::__construct('dropdown', $name, $label); + $this->rmattr('type'); $this->options($options); }