yiisoft / yii2-bootstrap

Yii 2 Bootstrap 3 Extension
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
185 stars 193 forks source link

Api Documentation typo (dropDownOptions instead of dropdownOptions) #266

Closed kelenorbi closed 2 years ago

kelenorbi commented 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".

samdark commented 2 years ago

Thanks.