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
Jacob Morrison
226c9f22d0
Fixed issue with tabular input in ActiveField::radio and checkbox
11 years ago
Andrea Panattoni
4941db1eee
Checkboxlist documentation fix
...
"Item" parameter keys are the values of the checkbox list,
while the values are the checkbox labels.
11 years ago
Qiang Xue
1bee84746c
Fixes #1060 : added code comment
11 years ago
Alexander Makarov
ee2af2661c
Removed unneeded use statements
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Alexander Makarov
6488fe47ec
Better phpdoc for chained method calls
11 years ago
Qiang Xue
d03d681583
Fixes #928 : client validation should be applied to active attributes only.
11 years ago
Qiang Xue
db212f0586
Added $label parameter to ActiveField::label().
11 years ago
Qiang Xue
791905e8bb
Reverted previous change as it breaks layout.
11 years ago
Qiang Xue
ea561ed3e0
Fixes #861 .
11 years ago
Qiang Xue
a9e71d5565
better handling with exceptions in __toString()
11 years ago