diff --git a/framework/helpers/BaseHtml.php b/framework/helpers/BaseHtml.php index c4cdabe..4de696d 100644 --- a/framework/helpers/BaseHtml.php +++ b/framework/helpers/BaseHtml.php @@ -718,6 +718,9 @@ class BaseHtml */ public static function listBox($name, $selection = null, $items = [], $options = []) { + if (!array_key_exists($options, 'size')) { + $options['size'] = 4; + } if (!empty($options['multiple']) && substr($name, -2) !== '[]') { $name .= '[]'; }