Commit 1ec4506c authored by Qiang Xue's avatar Qiang Xue

Fixes #5735: Added `yii\bootstrap\Tabs::renderTabContent` to support manually...

Fixes #5735: Added `yii\bootstrap\Tabs::renderTabContent` to support manually rendering tab contents
parent 67ca28c0
...@@ -5,6 +5,7 @@ Yii Framework 2 bootstrap extension Change Log ...@@ -5,6 +5,7 @@ Yii Framework 2 bootstrap extension Change Log
----------------------- -----------------------
- Bug #5570: `yii\bootstrap\Tabs` would throw an exception if `content` is not set for one of its `items` (RomeroMsk) - Bug #5570: `yii\bootstrap\Tabs` would throw an exception if `content` is not set for one of its `items` (RomeroMsk)
- Enh #5735: Added `yii\bootstrap\Tabs::renderTabContent` to support manually rendering tab contents (RomeroMsk)
2.0.0 October 12, 2014 2.0.0 October 12, 2014
......
...@@ -102,7 +102,9 @@ class Tabs extends Widget ...@@ -102,7 +102,9 @@ class Tabs extends Widget
*/ */
public $navType = 'nav-tabs'; public $navType = 'nav-tabs';
/** /**
* @var boolean whether the tab-content container should be rendered. * @var boolean whether to render the `tab-content` container and its content. You may set this property
* to be false so that you can manually render `tab-content` yourself in case your tab contents are complex.
* @since 2.0.1
*/ */
public $renderTabContent = true; public $renderTabContent = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment