Alexey Rogachev
80d6f7323a
Do not render empty row in GridView when data is empty and emptyText set to false
...
Fixes #13352
close #13422
7 years ago
Robert Korulczyk
31e321b9b2
Remove unused imports. ( #14096 )
8 years ago
SilverFire - Dmitry Naumenko
8349362271
Fixed tests
8 years ago
SilverFire - Dmitry Naumenko
fce20a3020
Renamed `ActiveForm::registerJs()` to `registerClientScript()`, added tests
8 years ago
Klimov Paul
d8e6a89af9
fixed tests without assettions
8 years ago
Klimov Paul
dee88787fc
compatibility with PHPUnit 6.x added
8 years ago
Kolyunya
892512feba
Fixes #13560 : Refactored `\yii\widgets\FragmentCache::getCachedContent()`, added tests
8 years ago
aquy
514b29d55d
Fixes #13369 : Added ability to render current `yii\widgets\LinkPager` page disabled
8 years ago
Nikolay Oleynikov
4e9497c4fa
Fixes #13770 : Added support for `yii\widgets\Menu` item classes definition in the form of an array
8 years ago
Alexander Makarov
3f8e8a89eb
Used more specific unit test assertions in framework tests
8 years ago
gagatust
6397791513
Fixed whitespaces to match code style [skip ci]
8 years ago
Alexey Rogachev
186420da40
Fixes #13243 : Added support for unicode attribute names in `yii\widgets\DetailView`
8 years ago
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
8 years ago
Klimov Paul
3946ac0dab
Added `yii\widgets\InputWidget::$field` field, allowing access to the related `yii\widget\ActiveField` instance
8 years ago
Klimov Paul
194577c55e
Code style fix
8 years ago
SilverFire - Dmitry Naumenko
a710345ea7
Enhanced PHPDocs, added Unit tests, updated CHANGELOG
8 years ago
SilverFire - Dmitry Naumenko
24dae19fc8
ListView: PHPDocs and tests enhanced
8 years ago
SilverFire - Dmitry Naumenko
cdabb660d6
Refactored ListView::beforeItem, ::afterItem. Added Unit tests.
8 years ago
Alexander Makarov
e83624df9e
Closes #11418 : Added test for #11418
8 years ago
SilverFire - Dmitry Naumenko
0261a5498f
Simplified ListViewTest
8 years ago
Alexander Makarov
ed8acc8e03
#12399 adjustments
8 years ago
a.kompaniets
fb779e3ec6
Fixes #12399 : Added `ActiveField::addAriaAttributes` property for `aria-required` and `aria-invalid` attributes rendering
8 years ago
Boudewijn Vahrmeijer
5784dd1dbf
fix travis
8 years ago
Boudewijn Vahrmeijer
9218adcec2
fixes after @samdark review
8 years ago
Boudewijn Vahrmeijer
7f537d684e
Custom ID generation for Pjax widgets to solve unstable ajax calls (issue #12969 )
...
Implements the solution proposed in the following comment:
https://github.com/yiisoft/yii2/pull/12977#issuecomment-260123078
8 years ago
Boudewijn Vahrmeijer
aba42fce4d
Squash merge rebased branch nadar-patch-4
8 years ago
Alexey Rogachev
6428fab406
Closes #9162 : Added support of closures in `value` for attributes in `yii\widgets\DetailView` ( #13013 )
...
#9162 : Added support of closures in `value` for attributes in `yii\widgets\DetailView`
8 years ago
SilverFire - Dmitry Naumenko
87f843524e
Fixed typo
8 years ago
SilverFire - Dmitry Naumenko
24a5532ca9
Added unit tests for #12750
8 years ago
François Gannaz
7669d60df6
Document and test ListView.showOnEmpty
...
This addresses #11627 by completing the documentation without changing
the behavior. Some basic unit tests are added on ListView to ensure this
won't change unintentionnally.
That means a ListView widget with an empty provider and
`showOnEmpty=true` will still display an empty element (by default, an
empty "div.list-view").
8 years ago
githubjeka
76ced661b2
DetailView captionOptions & contentOptions attributes
8 years ago
SilverFire - Dmitry Naumenko
6670fa986f
Updated MenuTest. Verified that item template override works correctly
...
Closes #4668
8 years ago
SilverFire - Dmitry Naumenko
623f30324d
Added tests for ActiveField::hint(), fixed code formatting
8 years ago
Egor Verbitskiy
2fbd55b634
Fixes #11949 : Fixed `ActiveField::end` generates close tag when it's `option['tag']` is null
8 years ago
Carsten Brandt
86f17c8dad
added tests classes for db related tests
8 years ago
cuiliang
c0df003ac0
merge from master
8 years ago
Aleksei Vesnin
6745bdb65e
Fixed `yii\widgets\ActiveField` to handle inputs AJAX validation with changed ID properly.
...
Tests for `yii\widgets\ActiveField` with custom input ID.
9 years ago
Carsten Brandt
608066b05f
fixed ActiveForm tests for output buffering
...
related to #8779 , and 7dc984d359
9 years ago
Daniel Gomez Pan
7dc984d359
Fixed #8779 : Automatically set enctype form option when using file input field
9 years ago
Carsten Brandt
2d74a8da41
added test for DetailView related attribute
...
issue #10923
9 years ago
boehsermoe
22dceedabb
Fixed DetailView for arrayable models
...
The toArray() function return [attribute => value] but there is need a list of attribute names.
UnitTest for the DetailView arrayable models
close #10760
9 years ago
Daniel Gomez Pan
f4990b3879
WIP #10764 : add extra test for Menu class
9 years ago
Daniel Gomez Pan
cd7039e97c
WIP #10764
9 years ago
╃巡洋艦㊣
586684b050
2.0.5 bf7edc5
9 years ago
Carsten Brandt
bda90b6ad3
added another test for #8848
...
close #8850
9 years ago
pana1990
6ab64c9b35
Add test for #8848
9 years ago
Carsten Brandt
94d6843f8b
added FragmentCache test for issue #8273
10 years ago
Klimov Paul
85ca8c3712
Added ability to specify hints for model attributes
10 years ago
Alexander Makarov
f21b8511c9
Fixed test
10 years ago
Alexander Makarov
a733ecd40c
`yii\widgets\LinkPager::$firstPageLabel` and `yii\widgets\LinkPager::$lastPageLabel` now could be set to true in order to use page number as label
10 years ago