octicon-git-branch(16/) Commit Graph

54 Commits

Author SHA1 Message Date
Carsten Brandt
1945738c8d improved and fixed Html helper and ActiveField phpdoc
fixes #7560
2015-03-04 03:51:00 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
0eb27981cd Fixes #7440: Added support to automatically set the maxlength attribute for Html::activeTextInput() 2015-02-26 21:45:02 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
30e45a4aea improve documentation about uncheck and unselect in activefield
fixes #7465
2015-02-26 19:06:51 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
justinvoelker
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 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
57c298a523 Fixes #7361: The trim validator now works on the client side too 2015-02-22 19:25:06 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
389d9e2fd2 add hint about custom element id and selectors property
to Active Field

fixes #6734
2015-01-04 19:03:46 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f509ed2448 Fixes #6236: No JS scripts should be registered when yii\widgets\ActiveForm::enableClientScript is false 2014-11-26 10:52:10 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
9869e67df8 fixed phpdoc
thanks to @pana1990

close #6060
2014-11-14 23:26:49 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
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 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
cb90f31cbe Fixes #5702: Parenthesis should be automatically added to Validator::whenClient to avoid js error 2014-10-23 09:18:53 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
169a2a39c0 Fixes #5110. 2014-09-19 11:43:55 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
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 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
a187d47aec Fixes #5049: ActiveForm::validationDelay should be applied to user types only 2014-09-16 14:40:00 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
ae13b0593f Fixes #3410: yii.activeForm.js now supports adding/removing fields dynamically 2014-09-05 23:10:23 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
d5077d70b7 Fixes #3738: ActiveField custom error selector not functioning 2014-09-05 14:50:24 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f34b138aab Fixes #4225: Added ActiveForm::validateOnBlur and ActiveField::validateOnBlur 2014-09-03 16:14:54 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
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
2014-08-13 00:53:38 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
9f155de82d removed the key from the array in the fix for #4371 2014-08-11 23:30:43 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
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.
2014-08-12 01:38:05 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alex-Code
b4ca343bd2 deferred validation
Added support of deferred validation.
2014-07-28 09:54:23 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
3405f8e8a4 doc fix [skip ci] 2014-07-05 00:03:03 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
0d03f720a4 added usage example of ActiveField::widget() 2014-06-25 13:14:03 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
8ac79a35ae support hiding error and label tags via error(false) and label(false). 2014-04-11 20:09:19 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
c93231e26b improved session error handling
fixes #1946
2014-03-29 23:54:26 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
2ec58e64d6 Fixed whenClient. 2014-03-24 10:51:21 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
bbc7b0768f separate id and name of attribute for client side validation 2014-03-22 21:21:11 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
a5e3e46905 Fixes #735: Added back ActiveField::hiddenInput() 2014-03-14 20:42:31 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
6fff5662df better use @see for See in phpdoc 2014-03-11 05:38:35 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
c94a40e90d added a large amount of missing documentation 2014-03-11 05:38:35 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
098567ce16 fixed phpdoc errors and updated properties 2014-02-20 13:42:30 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
b21fd298c5 Fixed minor coding style issues 2014-02-01 01:18:38 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
96fd37de2e Fixes issue #49: finished CAPTCHA feature. 2013-05-08 15:27:06 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Kochetov
48d04fbb8c !== array() => !empty() 2013-05-07 19:57:27 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
dd5969147d move JsExpression to web. 2013-05-07 07:39:24 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Zander Baldwin
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
147b3155c8 Added contact page. Fixed various form bugs. 2013-05-03 17:09:02 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
9100217229 Finished ActiveForm. 2013-05-03 14:35:53 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
aa8061b002 form wip 2013-05-03 00:03:16 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
e6af955bdc form wip 2013-05-02 16:10:57 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
7d999b2652 form fix. 2013-05-02 07:40:29 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
86330471fe form wip 2013-05-02 00:04:38 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
8a07bce836 form wip 2013-05-01 11:30:49 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f5f3d2e48e Added bootstrap. form WIP 2013-04-29 22:47:45 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
69b2b3722b form wip 2013-04-28 23:36:08 -04:00 octicon-file-diff(16/) octicon-file-code(16/)