|
|
@ -95,7 +95,7 @@ class Dropdown extends Widget |
|
|
|
$content = Html::a($label, ArrayHelper::getValue($item, 'url', '#'), $linkOptions); |
|
|
|
$content = Html::a($label, ArrayHelper::getValue($item, 'url', '#'), $linkOptions); |
|
|
|
if (!empty($item['items'])) { |
|
|
|
if (!empty($item['items'])) { |
|
|
|
unset($this->_containerOptions['id']); |
|
|
|
unset($this->_containerOptions['id']); |
|
|
|
$this->renderItems($item['items']); |
|
|
|
$content .= $this->renderItems($item['items']); |
|
|
|
Html::addCssClass($options, 'dropdown-submenu'); |
|
|
|
Html::addCssClass($options, 'dropdown-submenu'); |
|
|
|
} |
|
|
|
} |
|
|
|
$lines[] = Html::tag('li', $content, $options); |
|
|
|
$lines[] = Html::tag('li', $content, $options); |
|
|
|