Closed kelenorbi closed 2 years ago
There is a typo in the Documentation (https://www.yiiframework.com/extension/yiisoft/yii2-bootstrap/doc/api/2.0/yii-bootstrap-nav#$items-detail). At the $items property "dropDownOptions" written instead of "dropdownOptions". If you use "dropDownOptions" nothing will happen, because in the source code the ArrayHelper::getValue method "key" parameter is "dropdownOptions".
$items
Thanks.
There is a typo in the Documentation (https://www.yiiframework.com/extension/yiisoft/yii2-bootstrap/doc/api/2.0/yii-bootstrap-nav#$items-detail). At the
$items
property "dropDownOptions" written instead of "dropdownOptions". If you use "dropDownOptions" nothing will happen, because in the source code the ArrayHelper::getValue method "key" parameter is "dropdownOptions".