Commit 7a7030e0 by Alexander Kochetov

BaseHtml::listBox() default size settings removed

parent 3c05ee51
...@@ -718,9 +718,6 @@ class BaseHtml ...@@ -718,9 +718,6 @@ class BaseHtml
*/ */
public static function listBox($name, $selection = null, $items = [], $options = []) public static function listBox($name, $selection = null, $items = [], $options = [])
{ {
if (!isset($options['size'])) {
$options['size'] = 4;
}
if (!empty($options['multiple']) && substr($name, -2) !== '[]') { if (!empty($options['multiple']) && substr($name, -2) !== '[]') {
$name .= '[]'; $name .= '[]';
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment