Commit 89c1d615 by Ary Raditya Committed by Qiang Xue

fix missing code for infinite dropdown

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