-
-
Notifications
You must be signed in to change notification settings - Fork 190
Closed
Labels
Milestone
Description
This issue has originally been reported by @yukal at yiisoft/yii2#13798.
Moved here by @samdark.
I trying to call ButtonDropdown::widget by example of official documentation of Yii2
And everything looks fine, but when I clicking to the button it's not collapsing. Then I opened rendered html code and find this strings below:
$('#btn-dropdown').button()
And then I look into Bootstrap documentation, and found out that I need to use dropdown instead of button...
$('#btn-dropdown').dropdown()
So
- Why ButtonDropdown widget call
$().button()in end of file, when we expected$().dropdown()? - And how can I call
.dropdown()instead.button()?
Additional info
| Q | A |
|---|---|
| Yii version | 2.0.7 (advanced) |
| PHP version | 5.5.38 |
| Operating system | Centos 7 |
kosiakMD