Alexander Makarov
1be82dc0f5
Added phpdoc for Block
10 years ago
Alexander Makarov
497e1fedc5
Added phpdoc for ContentDecorator
10 years ago
Alexander Mohorev
64b4d6dca1
Correct order of property declaration
10 years ago
Qiang Xue
cb90f31cbe
Fixes #5702 : Parenthesis should be automatically added to `Validator::whenClient` to avoid js error
10 years ago
Niek Oost
5684eaf0ed
Replaced single quotes with double
10 years ago
Alexander Makarov
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()`
10 years ago
Sergey
366852647b
typo fix
...
close #5455
10 years ago
Qiang Xue
169a2a39c0
Fixes #5110 .
10 years ago
Qiang Xue
d3f2010e07
Fixes #2380 : Added `yii\widgets\ActiveForm::enableClientScript` to support turning on and off client side script generation
10 years ago
Qiang Xue
93496bf8fd
Fixes #5058 : `yii\helpers\Html::activeCheckbox()` and `activeRadio()` will generate labels by default using the corresponding attribute labels
10 years ago
Carsten Brandt
32c122178e
avoid publishing dev files of js packages
10 years ago
Qiang Xue
a187d47aec
Fixes #5049 : `ActiveForm::validationDelay` should be applied to user types only
10 years ago
Serge Postrash
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)
10 years ago
Carsten Brandt
d82195706f
UPGRADE and CHANGELOG notes for the Formatter changes
10 years ago
Qiang Xue
f50f840a55
Fixes #4955 : Replaced callbacks with events for `ActiveForm`
10 years ago
Qiang Xue
ae13b0593f
Fixes #3410 : yii.activeForm.js now supports adding/removing fields dynamically
10 years ago
Qiang Xue
08d4d89930
Fixes #2914 : `ActiveForm::fieldConfig` will be merged recursively with the `$options` parameter in `ActiveForm::field()`
10 years ago
Qiang Xue
155f525e0b
Fixes #2380 : `yii\widgets\ActiveForm` will register validation js even if there are not fields inside
10 years ago
Qiang Xue
d5077d70b7
Fixes #3738 : ActiveField custom error selector not functioning
10 years ago
Qiang Xue
4ad022c372
Fixes #3240 : Added support for assigning an anonymous function to `yii\widgets\ActiveForm::fieldConfig`
10 years ago
Qiang Xue
f34b138aab
Fixes #4225 : Added `ActiveForm::validateOnBlur` and `ActiveField::validateOnBlur`
10 years ago
Qiang Xue
60e07e0d2a
new asset WIP: renabled asset publishing
10 years ago
Qiang Xue
1a62551691
new asset WIP
10 years ago
Qiang Xue
c0d771f744
Fixes #4640 : Added `yii\widgets\ActiveForm::beginField()` and `endField()`
10 years ago
Alex-Code
25c2f9bf85
Made error message encoding configurable for ActiveForm
...
Updated yii.activeform.js to use the encode option introduced in #4122 .
Updated ActiveForm with new option encodeErrorSummary
fixes #4690 , close #4691
10 years ago
Qiang Xue
9f155de82d
removed the key from the array in the fix for #4371
10 years ago
abrahamy
b7cad9df3d
Fixes #4371 : Active form client validation wasn't working in case of two models having same named fields
...
When rendering multiple models in the same ActiveForm if any of the field names in the two models is the same then the corresponding attribute in the yiiActiveForm object in yiiActiveForm.js (ie $('form').data('yiiActiveForm').attributes) of the first rendered model is overwritten by the attribute of the last model causing the client-side validation for the overwritten field not to run at all. Example: given two models Car and Owner with attributes {make, age} and {name, age} then if the Car is rendered first its age attribute will not have any client validation.
10 years ago
Alexander Makarov
b1e2090083
Fixes #4595 : more consistend use of "false" in "don't use" case
10 years ago
Alex-Code
594b57836d
Added validation js callbacks
...
- `beforeValidateAll`
- `afterValidateAll`
fixes #4234 , close #4559
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Alex-Code
b4ca343bd2
deferred validation
...
Added support of deferred validation.
10 years ago
Alexander Makarov
0edd8bc65a
Fixed missing and incorrect phpdoc
10 years ago
Thiago Talma
88191bbe5c
New callback functions for form validation using Ajax.
...
close #4436
10 years ago
Qiang Xue
b147e6516d
minor CS fixes [skip ci]
10 years ago
Sorokin Victor
504e973f67
Fixes #4241 : `yii\widgets\Pjax` was incorrectly setting container id
10 years ago
Alexander Makarov
374b98e2e4
Fixes #4227 : `\yii\widgets\LinkPager::$hideOnSinglePage` is now `true` by default
10 years ago
Qiang Xue
3405f8e8a4
doc fix [skip ci]
10 years ago
Carsten Brandt
085f2c0142
gridview and listview use widget ID in base tag
10 years ago
Carsten Brandt
6578cfbdab
updated phpdoc and classmap
10 years ago
Carsten Brandt
0d03f720a4
added usage example of ActiveField::widget()
10 years ago
Alexander Makarov
79f9f85ff2
Fixes #4024 , Fixes #4028
10 years ago
Dmitry Chernikov
85fd823ee6
Added ability to `yii\widgets\Menu` to encode each item's label separately (creocoder, umneeq)
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Dmitry Chernikov
7889d1ee88
Upgrade of the code
10 years ago
Dmitry Chernikov
1909da2a21
re `ownTemplate` => `template`
10 years ago
Dmitry Chernikov
7f0427d911
`ownTemplate` => `template`
10 years ago
Dmitry Chernikov
b1f71cbf60
`yii\widgets\Breadcrumbs` enhancement. Allow link to have its `ownTemplate`
10 years ago
Alexander Kochetov
1b81503d71
\yii\widgets\ActiveForm incorrect js selector for `errorSummaryCss` property better fix
10 years ago
Alexander Kochetov
4894d66d6e
\yii\widgets\ActiveForm incorrect js selector for `errorSummaryCss` property fixed
10 years ago