From 9e0e3efea9c21091137a29d173936d90040be524 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Mon, 9 Oct 2017 20:15:49 +0200 Subject: [PATCH] Fixes #184: `yii\bootstrap\ButtonDropdown` widget did not use the correct JS plugin, was `button`, changed to `dropdown` --- ButtonDropdown.php | 2 +- CHANGELOG.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ButtonDropdown.php b/ButtonDropdown.php index 7b63b83..388751d 100644 --- a/ButtonDropdown.php +++ b/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(), diff --git a/CHANGELOG.md b/CHANGELOG.md index 519d126..241cc40 100644 --- a/CHANGELOG.md +++ b/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)