Skip to content
Snippets Groups Projects
Commit 693978b1 authored by Michael Grosse's avatar Michael Grosse
Browse files

Remove type-attr from <select> b/c it's invalid

fixes #1776
parent aaf4f55e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment