From 693978b15d5f708046101ecbae3e3474a819b874 Mon Sep 17 00:00:00 2001 From: Michael Grosse <grosse@cosmocode.de> Date: Mon, 12 Dec 2016 13:55:14 +0100 Subject: [PATCH] Remove type-attr from <select> b/c it's invalid fixes #1776 --- inc/Form/DropdownElement.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/Form/DropdownElement.php b/inc/Form/DropdownElement.php index 6a2147d0a..34372fa2c 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); } -- GitLab