SilverFire - Dmitry Naumenko
723e3a9850
Updated ActiveField::getInputId PHPDoc, CHANGELOG
9 years ago
Carsten Brandt
13fca3bc54
alternative solution for issue #7627
...
should cover more cases then #8912 . Have not tested it yet.
see #7627
9 years ago
Alexander Makarov
67658cf57d
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
9 years ago
Klimov Paul
563deea02c
`yii\widgets\ActiveField` now uses corresponding methods for default parts rendering
10 years ago
Klimov Paul
85ca8c3712
Added ability to specify hints for model attributes
10 years ago
Carsten Brandt
1945738c8d
improved and fixed Html helper and ActiveField phpdoc
...
fixes #7560
10 years ago
Qiang Xue
0eb27981cd
Fixes #7440 : Added support to automatically set the `maxlength` attribute for `Html::activeTextInput()`
10 years ago
Carsten Brandt
30e45a4aea
improve documentation about uncheck and unselect in activefield
...
fixes #7465
10 years ago
justinvoelker
f2523cb5d7
Update ActiveField.php
...
Update radio() to set $options['label'] to null rather than using unset. Fixes issue #7425 .
10 years ago
Qiang Xue
57c298a523
Fixes #7361 : The `trim` validator now works on the client side too
10 years ago
Carsten Brandt
389d9e2fd2
add hint about custom element id and selectors property
...
to Active Field
fixes #6734
10 years ago
Qiang Xue
f509ed2448
Fixes #6236 : No JS scripts should be registered when `yii\widgets\ActiveForm::enableClientScript` is false
10 years ago
Carsten Brandt
9869e67df8
fixed phpdoc
...
thanks to @pana1990
close #6060
10 years ago
Qiang Xue
866214e75a
Fixes #6018 : When setting the `encode` option via `yii\widgets\ActiveRecord::errorOptions`, it works the other way around [skip ci]
10 years ago
Qiang Xue
cb90f31cbe
Fixes #5702 : Parenthesis should be automatically added to `Validator::whenClient` to avoid js error
10 years ago
Qiang Xue
169a2a39c0
Fixes #5110 .
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
Qiang Xue
a187d47aec
Fixes #5049 : `ActiveForm::validationDelay` should be applied to user types only
10 years ago
Qiang Xue
ae13b0593f
Fixes #3410 : yii.activeForm.js now supports adding/removing fields dynamically
10 years ago
Qiang Xue
d5077d70b7
Fixes #3738 : ActiveField custom error selector not functioning
10 years ago
Qiang Xue
f34b138aab
Fixes #4225 : Added `ActiveForm::validateOnBlur` and `ActiveField::validateOnBlur`
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
RichWeber
92cd13a913
pull origin
10 years ago
Alex-Code
b4ca343bd2
deferred validation
...
Added support of deferred validation.
10 years ago
Qiang Xue
3405f8e8a4
doc fix [skip ci]
10 years ago
Carsten Brandt
0d03f720a4
added usage example of ActiveField::widget()
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Qiang Xue
8ac79a35ae
support hiding error and label tags via error(false) and label(false).
11 years ago
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
11 years ago
Carsten Brandt
c93231e26b
improved session error handling
...
fixes #1946
11 years ago
Qiang Xue
2ec58e64d6
Fixed whenClient.
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
bbc7b0768f
separate id and name of attribute for client side validation
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
a5e3e46905
Fixes #735 : Added back `ActiveField::hiddenInput()`
11 years ago
Carsten Brandt
6fff5662df
better use @see for See in phpdoc
11 years ago
Carsten Brandt
c94a40e90d
added a large amount of missing documentation
11 years ago
Carsten Brandt
098567ce16
fixed phpdoc errors and updated properties
11 years ago
Alexander Makarov
b21fd298c5
Fixed minor coding style issues
11 years ago
Qiang Xue
2046563849
Revert "Fixes #1856 : The default CSS class for hint generated by `ActiveField` is changed to `help-block`"
...
This reverts commit 7ae4695d0c
.
11 years ago
Qiang Xue
7ae4695d0c
Fixes #1856 : The default CSS class for hint generated by `ActiveField` is changed to `help-block`
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Alexander Makarov
4609a94dbf
Removed error-block HTML class and related styles and used Bootstrap3 standard practice about errors instead
11 years ago
Carsten Brandt
7a1949fe2d
improved traceability of errors thrown in toString() methods
11 years ago
Qiang Xue
27658e56ae
Fixes #1647 : Changed the default CSS class of error block to be `error-block`
11 years ago
Qiang Xue
70c23ca43b
Typo fix.
11 years ago
Qiang Xue
85c774e01d
Fixes #1681 : Added support for automatically adjusting the "for" attribute of label generated by `ActiveField::label()`
11 years ago
futbolim
2eee7b3f1b
Update ActiveField.php
...
doc fixes
11 years ago