Browse Source

Fixes #184: `yii\bootstrap\ButtonDropdown` widget did not use the correct JS plugin, was `button`, changed to `dropdown`

tags/2.0.7
Carsten Brandt 7 years ago committed by Alexander Makarov
parent
commit
9e0e3efea9
  1. 2
      ButtonDropdown.php
  2. 1
      CHANGELOG.md

2
ButtonDropdown.php

@ -84,7 +84,7 @@ class ButtonDropdown extends Widget
$options = $this->containerOptions;
$tag = ArrayHelper::remove($options, 'tag', 'div');
$this->registerPlugin('button');
$this->registerPlugin('dropdown');
return implode("\n", [
Html::beginTag($tag, $options),
$this->renderButton(),

1
CHANGELOG.md

@ -18,6 +18,7 @@ Yii Framework 2 bootstrap extension Change Log
- Bug #143: Fixed `yii\bootstrap\Nav` to use tags according to bootstrap docs (PowerGamer1)
- Bug #162: Fixed `yii\bootstrap\Nav` not taking explicit `active` into account when `activateItems` is off (samdark)
- Enh #174: Added `yii\bootstrap\Tabs::renderPanes()` to allow extending the class to manipulate the content between the tabs and the content (thiagotalma)
- Bug #184: `yii\bootstrap\ButtonDropdown` widget did not use the correct JS plugin, was `button`, changed to `dropdown` (cebe, yukal)
- Bug #196: Remove `role="form"` from `yii\bootstrap\ActiveForm` according to new aria specification (bastardijke)
- Enh #208: Added `yii\bootstrap\Modal::$bodyOptions` to allow add options to body part Modal (KoJIT2009)

Loading…
Cancel
Save