Commit f2b0d8c2 by Alexander Makarov

Passed "encodeLabels" to Dropdown recursive call

parent 0c6516a8
...@@ -89,6 +89,7 @@ class Dropdown extends Widget ...@@ -89,6 +89,7 @@ class Dropdown extends Widget
if (!empty($item['items'])) { if (!empty($item['items'])) {
$content .= static::widget([ $content .= static::widget([
'items' => $item['items'], 'items' => $item['items'],
'encodeLabels' => $this->encodeLabels,
]); ]);
Html::addCssClass($options, 'dropdown-submenu'); Html::addCssClass($options, 'dropdown-submenu');
} }
......
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