218 Commits

Author SHA1 Message Date
cd0093f7bd rework grid/list/detail view guide and docs 2015-03-06 07:43:00 +01:00
1945738c8d improved and fixed Html helper and ActiveField phpdoc
fixes #7560
2015-03-04 03:51:00 +01:00
81bcd116a8 Added "submenuTemplate" property for "items" config in Menu widget
fixes #5681
close #5897
2015-03-01 00:33:00 +01:00
0eb27981cd Fixes #7440: Added support to automatically set the maxlength attribute for Html::activeTextInput() 2015-02-26 21:45:02 -05:00
30e45a4aea improve documentation about uncheck and unselect in activefield
fixes #7465
2015-02-26 19:06:51 +01:00
f2523cb5d7 Update ActiveField.php
Update radio() to set $options['label'] to null rather than using unset. Fixes issue #7425.
2015-02-24 21:35:19 -05:00
a5b9aec6cd Fixed phpdoc typo 2015-02-24 03:05:43 +03:00
02f8f7ef9d Fixes #7332: Added ability to remove yii\widgets\Menu container tag by setting options['tag'] to false 2015-02-24 02:06:42 +03:00
e385f323eb Update Menu.php
The feature:
http://getbootstrap.com/components/#list-group-linked

Currently, Menu isnt capable of creating a bootstraps list-group-linked because:
- Menu forces a item container around the link

Menu does allow:
- defining the tag of the menu container
- defining the tag of the item container
- defining the template of the link

This means, that it is a small step to enable a menu like the list-group-linked in which:
- menu container is a DIV
- there are no item containers
- there are only links which should get the correct status by the (link)template

I provided a patch in which you can set the item-tag on false. When this is done,
the item tag is ignored and no LI is created, which is necessary for the list-group-linked.
2015-02-24 01:52:00 +03:00
57c298a523 Fixes #7361: The trim validator now works on the client side too 2015-02-22 19:25:06 -05:00
ba7ccf2a0b fixed example with wrong namespace at 'yii2/framework/widgets/MaskedInput.php' documentation 2015-02-12 15:12:09 -02:00
40c232df92 enhanced widget documentation 2015-02-08 18:02:31 +01:00
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
e7f9b30456 fixed version information in Breadcrumb widget 2015-01-11 17:09:06 +01:00
e4cf948c0b Better code for #6106 2015-01-11 15:16:05 +08:00
440eeea8cc Fixes #6106: Added ability to specify encode for each item of yii\widgets\Breadcrumbs 2015-01-11 15:13:34 +08:00
d341bf02b4 Fixes #6398: Added support for specifying dependent component in terms of a configuration array for classes such as DbCache 2015-01-04 19:28:05 -05:00
389d9e2fd2 add hint about custom element id and selectors property
to Active Field

fixes #6734
2015-01-04 19:03:46 +01:00
945961092d Added phpdoc description for BaseListView and ListView classes 2014-12-28 15:56:43 +03:00
03a9ed70b2 Fixes #6557: Link URLs generated by yii\widgets\Menu are not encoded 2014-12-17 22:08:20 -05:00
b16ac9a05a Fixes #6391 2014-12-08 22:36:32 -05:00
544981a41c Fixes #6318: Made widgets more error-tolerant and user-friendly when certain option values are null 2014-11-29 21:29:53 -05:00
9ae538e602 Fixed doc [skip ci] 2014-11-27 22:03:31 -05:00
f509ed2448 Fixes #6236: No JS scripts should be registered when yii\widgets\ActiveForm::enableClientScript is false 2014-11-26 10:52:10 -05:00
e92482f554 Typo in word 2014-11-22 02:58:56 +03:00
2782adcca4 Fixes #4643: Extra options specified in yii\widgets\Breadcrumbs::links will be treated as HTML attributes for the generated hyperlinks 2014-11-16 12:49:47 -05:00
9869e67df8 fixed phpdoc
thanks to @pana1990

close #6060
2014-11-14 23:26:49 +01:00
866214e75a Fixes #6018: When setting the encode option via yii\widgets\ActiveRecord::errorOptions, it works the other way around [skip ci] 2014-11-11 21:24:07 -05:00
1be82dc0f5 Added phpdoc for Block 2014-10-31 16:52:26 +03:00
497e1fedc5 Added phpdoc for ContentDecorator 2014-10-31 16:40:15 +03:00
64b4d6dca1 Correct order of property declaration 2014-10-25 16:28:36 +03:00
cb90f31cbe Fixes #5702: Parenthesis should be automatically added to Validator::whenClient to avoid js error 2014-10-23 09:18:53 -04:00
5684eaf0ed Replaced single quotes with double 2014-10-22 12:40:13 +02:00
48ec791e4a Fixes #5587: json_encode is now used with JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE where it makes sense, also it is now default for Json::encode() 2014-10-19 18:50:46 +04:00
366852647b typo fix
close #5455
2014-10-09 18:00:37 +02:00
169a2a39c0 Fixes #5110. 2014-09-19 11:43:55 -04:00
d3f2010e07 Fixes #2380: Added yii\widgets\ActiveForm::enableClientScript to support turning on and off client side script generation 2014-09-18 13:04:46 -04:00
93496bf8fd Fixes #5058: yii\helpers\Html::activeCheckbox() and activeRadio() will generate labels by default using the corresponding attribute labels 2014-09-18 12:15:54 -04:00
32c122178e avoid publishing dev files of js packages 2014-09-17 19:13:29 +02:00
074c1f6c53 Merge branch 'master' into new-asset
Conflicts:
	apps/basic/composer.json
	composer.json
2014-09-16 20:03:53 -04:00
a187d47aec Fixes #5049: ActiveForm::validationDelay should be applied to user types only 2014-09-16 14:40:00 -04:00
286e8efe9f Updated phpdoc for \yii\widgets\DetailView [ckip ci]
This widget usage is not only restricted with `Model` or associative array (see its `normalizeAttributes()` method)
2014-09-10 21:39:07 +04:00
2b38d6ab33 Merge branch 'master' into Erik-r-2359-formatter-refactored
* master: (22 commits)
  Fixes #4971: Fixed hardcoded table names in `viaTable` expression in model generator
  Fixed test break.
  Fixes #4955: Replaced callbacks with events for `ActiveForm`
  Fix brackets
  Rename `\yii\web\User` component param for consistency
  Html::button() type is `button` by default
  Fix bug in Estonian translation
  Typo fixed inside \yii\rest\CreateAction
  Fixed test break.
  Fixed test case.
  note about validation rules order
  Return a fixtures cleanup in case of a failing test
  Update finnish translation
  skip fixture controller test on HHVM
  Make unit tests cleanup a DB after finish
  Fixes #4945: Added `yii\test\ArrayFixture`
  added array fixture class
  minor doc adjustment [skip ci]
  Fixes #4948. Thanks, @johan162
  Fixes #4947
  ...

Conflicts:
	framework/UPGRADE.md
2014-09-10 19:26:04 +02:00
d82195706f UPGRADE and CHANGELOG notes for the Formatter changes 2014-09-10 17:56:25 +02:00
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -04:00
ae13b0593f Fixes #3410: yii.activeForm.js now supports adding/removing fields dynamically 2014-09-05 23:10:23 -04:00
08d4d89930 Fixes #2914: ActiveForm::fieldConfig will be merged recursively with the $options parameter in ActiveForm::field() 2014-09-05 20:54:05 -04:00
155f525e0b Fixes #2380: yii\widgets\ActiveForm will register validation js even if there are not fields inside 2014-09-05 15:08:09 -04:00
d5077d70b7 Fixes #3738: ActiveField custom error selector not functioning 2014-09-05 14:50:24 -04:00
4ad022c372 Fixes #3240: Added support for assigning an anonymous function to yii\widgets\ActiveForm::fieldConfig 2014-09-05 13:37:52 -04:00