diff --git a/framework/yii/helpers/BaseHtml.php b/framework/yii/helpers/BaseHtml.php index 71ad9ea..64b070b 100644 --- a/framework/yii/helpers/BaseHtml.php +++ b/framework/yii/helpers/BaseHtml.php @@ -653,6 +653,9 @@ class BaseHtml */ public static function dropDownList($name, $selection = null, $items = [], $options = []) { + if (!empty($options['multiple'])) { + return static::listBox($name, $selection, $items, $options); + } $options['name'] = $name; $selectOptions = static::renderSelectOptions($selection, $items, $options); return static::tag('select', "\n" . $selectOptions . "\n", $options);