401 Commits

Author SHA1 Message Date
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 2016-11-04 18:55:14 +03:00
8f5b1fb3eb Fixes #12790: Added scrollToErrorOffset option for ActiveForm which adds ability to specify offset in pixels when scrolling to error 2016-10-21 01:06:37 +03:00
11fe407ad0 release version 2.0.10 2016-10-20 14:02:50 +02:00
35dd698f30 added missing @since annotations 2016-10-20 12:46:02 +02:00
a42fd9aed7 Replaced " to ` in DocBlocks for readability 2016-10-18 23:18:05 +03:00
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").
2016-10-14 15:40:23 +02:00
76ced661b2 DetailView captionOptions & contentOptions attributes 2016-10-05 11:43:21 +03:00
eb8809b8e1 Improve yii\widgets\ActiveField::widget() performance (#12669)
See https://github.com/yiisoft/yii2/pull/12632#discussion_r81110938
2016-10-04 23:54:46 +03:00
81df45014c Fixed custom widget validation (#12629) (#12632) 2016-09-29 11:58:05 +03:00
aff762bc54 fix mistake in documentation for Spaceless widget 2016-09-17 17:12:16 +02:00
b668970a80 Small corrections in docblocks (#12443) [skip ci] 2016-09-02 23:39:29 +03:00
5df0ebceea phpDoc: Update ActiveField::label() 2016-09-02 12:05:33 +03:00
b2c92d3f4b Fixes #12382: Changed yii\widgets\MaskedInput to use jQuery instead of $ to prevent conflicts 2016-08-31 18:54:28 +03:00
0187c09a84 Cosmetic changes 3 2016-08-28 18:14:14 +03:00
389054dde1 Cosmetic changes 2 2016-08-28 02:17:17 +03:00
213715731c Merge pull request #12356 from w3lifer/patch-11
Cosmetic changes
2016-08-27 20:58:33 +03:00
a6fa576aab Cosmetic changes 2016-08-27 20:36:32 +03:00
b5b674995c Cosmetic changes 2016-08-27 20:05:33 +03:00
7ebf625be1 Merge branch 'master' of https://github.com/h0ckeypl4yer/yii2 into h0ckeypl4yer-master 2016-08-25 21:58:13 +03:00
623f30324d Added tests for ActiveField::hint(), fixed code formatting 2016-08-22 16:59:09 +03:00
3e680f9311 Update FragmentCache.php (#12179) [skip ci] 2016-08-17 11:58:09 +03:00
b8c07f6839 Fixes #12009: Do not render "for" field label attribute for active form RadioList and CheckboxList 2016-08-16 01:47:23 +03:00
3b2374b543 Fixes #12073: Added the ability to suppress the generation of input hint when it is specified through Model::attributeHints() 2016-08-16 01:09:07 +03:00
10ba47d841 fixed docs in ActiveField 2016-08-08 10:39:28 +02:00
876ef142c1 Remove explicit property initialization with null 2016-07-30 00:18:05 +03:00
2fbd55b634 Fixes #11949: Fixed ActiveField::end generates close tag when it's option['tag'] is null 2016-07-14 12:38:26 +03:00
0895f212c6 improved docs about tag option in HTML options 2016-07-03 10:57:47 +02:00
d9f1987d0f Fix for #11850 2016-07-01 11:16:01 +03:00
debb467f42 Fixes #11847: Fixed yii\widgets\Pjax to properly respond with partials when custom selector is used for container 2016-06-30 11:47:21 +03:00
1dc688e35f Fixes #11850: Introduced yii\widgets\Pjax::$submitEvent to be able to customize event triggering PJAX form submit 2016-06-30 11:34:18 +03:00
10a2954d13 Fix Pjax container
If we set client option "container", it will be ignored, because param "container" of function always set.
2016-04-13 20:49:33 +03:00
ff55874457 Fixes #11132: Fixed yii\widgets\FragmentCache not handling empty content correctly in all cases 2016-04-12 02:03:27 +03:00
6745bdb65e Fixed yii\widgets\ActiveField to handle inputs AJAX validation with changed ID properly.
Tests for `yii\widgets\ActiveField` with custom input ID.
2016-04-06 23:08:23 +03:00
608066b05f fixed ActiveForm tests for output buffering
related to  #8779, and 7dc984d35928128b3612fb6aa4ed19b03ee963fd
2016-03-28 04:55:15 +02:00
7dc984d359 Fixed #8779: Automatically set enctype form option when using file input field 2016-03-27 23:47:19 +03:00
9824da5883 update phpDoc of \yii\widgets\ActiveField::error 2016-03-14 15:11:50 +03:00
2fe7ed05f0 Fixed setup of 'definitions' and 'aliases' at yii\widgets\MaskedInput 2016-02-25 13:49:49 +02:00
3bf3c20710 Merge remote-tracking branch 'upstream/master' into 10764-enh-options-tag
# Conflicts:
#	framework/CHANGELOG.md
2016-02-15 17:37:40 +01:00
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
2016-02-11 15:58:54 +01:00
f620f4de90 phpdoc fixes 2016-02-07 19:48:13 +01:00
cd7039e97c WIP #10764 2016-02-07 16:39:41 +01:00
2778b4e613 Grammar fix 2015-12-21 13:49:14 +01:00
e8aa60e411 Merge branch 'pjax' of https://github.com/Alex-Code/yii2 into Alex-Code-pjax 2015-12-06 21:50:33 +02:00
a8448eba47 Update LinkPager.php
added missing `@since` annotation.
2015-12-03 00:10:35 +01:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
723e3a9850 Updated ActiveField::getInputId PHPDoc, CHANGELOG 2015-12-02 08:24:53 +02:00
b2fa9431e8 Merge pull request #9294 from yiisoft/activefield-id
alternative solution for issue #7627
2015-12-02 01:23:58 +01:00
00e328753a Fixes #10029: Fixed MaskedInput not working with PJAX 2015-10-30 23:03:25 +03:00
17e2255472 Fixes #6363, #8301, #8582, #9566: Fixed data methods and PJAX issues when used together 2015-10-19 11:31:07 +03:00