PowerGamer1
f41768b3ad
Update Dropdown.php ( #149 )
...
Two changes:
1. Documented previously undocumented 'encode' item option.
2. Moved `is_string($item)` check to occur BEFORE `$item` is handled as array. When `$item` is a string `$item['visible']` would not be an error and will return the first character of that string. Doing `!$item['visible']` on the first character of a string does not make any sense.
8 years ago
Klimov Paul
3ec5987344
Allow override CSS classes added by widgets
10 years ago
Klimov Paul
34081f44cb
usage of `yii\helpers\Html` removed
10 years ago
Klimov Paul
f387e6ebfd
Added `submenuOptions` support at `yii\bootstrap\Dropdown`
10 years ago
Sam
914608aedf
Fixed widgets using echo in their run. #7417
10 years ago
nkovacs
b6366a0022
Fixes #7412 : Removed unnecessary unsets in Dropdown and Nav
10 years ago
Valery Viktorovsky
af70660f3c
Fixes #7339 : Added example to Dropdown phpdoc
10 years ago
Qiang Xue
43b808a9d7
Fixes #6672 : `yii\bootstrap\Dropdown` should register client event handlers
10 years ago
Qiang Xue
f632f47746
Fixes #5494 : Added support for specifying a menu header as a configuration array in `yii\bootstrap\Dropdown`
10 years ago
Qiang Xue
c5d0f2518a
Fixes #6318 : Made widgets more error-tolerant and user-friendly when certain option values are null
10 years ago
Aleksandr Zelenin
cdcbc3f6e4
add BootstrapPlugin::register() to Dropdown widget
10 years ago
Ary Raditya
750ef75bc6
fix missing code for infinite dropdown
10 years ago
Carsten Brandt
83489d3684
property code style extensions
10 years ago
Kartik Visweswaran
b74f3b0d65
Better fix for Dropdown container options
...
Better fix for #3443 that does not break BC and allows widget to be extensible.
10 years ago
Alexander Makarov
1b86f9f1e3
Even better fix for #3443
10 years ago
Alexander Makarov
c60024fa10
Better fix for #3443
10 years ago
Alexander Makarov
3f62a770a8
Passed "encodeLabels" to Dropdown recursive call
10 years ago
artur
25f2364b09
Fixes #3443 : Fixed `yii\bootstrap\Nav` and `yii\bootstrap\Dropdown` were generating wrong ids for submenus
10 years ago
Alex-Code
7e06edd191
Allow single items to set their encoding option
11 years ago
Kartik Visweswaran
7b18457d88
Fix #3749 : Ensure clickable links for Bootstrap Dropdown
...
The registerPlugin is not required.
11 years ago
Carsten Brandt
20d4429fdd
fixed all the PHPdoc in extensions
11 years ago
SonicGD
5cc2dc8dd4
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
eb49502019
doc fix.
11 years ago
Thiago Talma
286f040873
Change condition
11 years ago
Thiago Talma
dfd6e56306
Allow multilevel dropdown.
11 years ago
MarsuBoss
a1e30e8462
Fix URL Bootstrap
11 years ago
Qiang Xue
d0d1e79c04
psr-4 change.
11 years ago
Qiang Xue
41685a2409
moved extensions under yii.
11 years ago
Qiang Xue
83a937990c
moved bootstrap to extension
11 years ago
Alexander Makarov
7ce6325de1
fixes #849
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Alexander Makarov
8a1bf04599
Fixes #790 : added visible for Nav and Dropdown
11 years ago
Alexander Makarov
4b008ae096
Updated bootstrap to release version including wrappers and views
11 years ago
Qiang Xue
b51c7e3b16
Fixes #756 : added doc to Dropdown.
11 years ago
Qiang Xue
17b1e5d2fc
Fixes issue #234 : Added Html::addCssClass() and removeCssClass().
12 years ago
resurtm
7a7d2a9c06
CS fixes.
12 years ago
Qiang Xue
79aaf1fbec
refactored ButtonDropdown and Dropdown.
12 years ago
Antonio Ramirez
d3bbc5fe40
small fix
12 years ago
Antonio Ramirez
7d0b95c21a
modified phpDoc
12 years ago
Antonio Ramirez
e1b145a706
Enhance Dropdown to use items as strings. Remove string=divider rule
12 years ago
Antonio Ramirez
5fe6d9910f
Added dropdown widget
12 years ago