diff --git a/Dropdown.php b/Dropdown.php index 8ad7073..e68cfd7 100644 --- a/Dropdown.php +++ b/Dropdown.php @@ -89,6 +89,7 @@ class Dropdown extends Widget if (!empty($item['items'])) { $content .= static::widget([ 'items' => $item['items'], + 'encodeLabels' => $this->encodeLabels, ]); Html::addCssClass($options, 'dropdown-submenu'); }