Qiang Xue
2a0797dd23
Fixes #6266 : Clicking on reset button does not hide error summary when using ActiveForm
2014-11-26 11:06:26 -05:00
Alexander Makarov
dab2b03f09
Fixes #5863 : Selecting all individual yii\grid\CheckboxColumn checkboxes in grid view wasn't resulting in "all" checkbox selected
2014-11-09 03:02:34 +03:00
Qiang Xue
1008249b54
Fixes incorrect submit button detection.
2014-11-08 08:52:27 -05:00
Qiang Xue
f1812210a8
Fixes #5768 : When setting data-confirm attribute to a submit button, clicking on the button would not trigger form submission
2014-11-07 10:29:04 -05:00
Qiang Xue
add2413e08
better way of generating html code.
2014-11-06 11:16:14 -05:00
Qiang Xue
232bcd1dd5
Fixes #5171 : Fixed the bug that ActiveForm + Pjax submit event is only triggered once.
2014-10-10 00:57:09 -04:00
Qiang Xue
82037bc70e
Fixes #5124 : Added support to prevent duplicated form submission when using ActiveForm
2014-09-22 12:19:11 -04:00
Qiang Xue
34a2c590e4
Fixes #5117 : Added beforeFilter and afterFilter JS events to GridView
2014-09-22 11:38:26 -04:00
Kartik Visweswaran
db99b5fda5
Code cleanup - beforeFilter and afterFilter events
2014-09-22 11:35:00 -04:00
Kartik Visweswaran
2c64ee0f1d
Updated comments for beforeFilter event
2014-09-22 11:34:59 -04:00
Kartik Visweswaran
9496c46646
Updated formatting - Created beforeFilter and afterFilter grid events
2014-09-22 11:34:59 -04:00
Kartik Visweswaran
4c9556a9f3
Simplified afterFilter event trigger code
2014-09-22 11:34:58 -04:00
Kartik Visweswaran
f8dc796d23
Simplified beforeFilter and afterFilter events
...
Removed `form` as a parameter to the events since it can be retrieved using `$grid.find('form.gridview-filter-form')`.
2014-09-22 11:34:58 -04:00
Kartik Visweswaran
4bd8a8c9dd
Corrected trigger element for beforeFilter
2014-09-22 11:34:57 -04:00
Kartik Visweswaran
df99a2435e
Updated comments for beforeFilter and afterFilter events
2014-09-22 11:34:57 -04:00
Kartik Visweswaran
141e3d7039
Updated comments for beforeFilter event
2014-09-22 11:34:56 -04:00
Kartik Visweswaran
f95be734cf
Created beforeFilter and afterFilter grid events
...
Events `beforeFilter.yiiGridView` and `afterFilter.yiiGridView` javascript events created for advanced use cases.
2014-09-22 11:34:56 -04:00
Kartik Visweswaran
48d2204226
Add event for coding post filter triggers
...
Trigger a new `filter.yiiGridView` event for yii grid view after grid filters are applied. This will enable developer to code a lot of use cases based on the grid filtering event. The filter `$form` can be accessed as a parameter to the event.
2014-09-22 11:34:56 -04:00
Qiang Xue
deb6ba3cf9
Fixes #5105 [skip ci]
2014-09-18 16:47:43 -04:00
Qiang Xue
108b451805
Fixes #5049 .
2014-09-18 15:41:11 -04:00
Qiang Xue
074c1f6c53
Merge branch 'master' into new-asset
...
Conflicts:
apps/basic/composer.json
composer.json
2014-09-16 20:03:53 -04:00
Qiang Xue
a187d47aec
Fixes #5049 : ActiveForm::validationDelay should be applied to user types only
2014-09-16 14:40:00 -04:00
Qiang Xue
8d082c11a1
Fixes #5050 .
2014-09-16 14:15:32 -04:00
Qiang Xue
72a81b8e31
Fixes #3581 : Added yii\validators\CompareValidator::type to support type conversion before comparing values
2014-09-16 11:41:54 -04:00
Qiang Xue
0fc46760b0
Fixes #4905 : ActiveForm::$validationDelay doesn't delay after keyrelease when $validateOnType=true
2014-09-15 23:24:12 -04:00
Qiang Xue
11132cee1a
Fixes #5006 .
2014-09-15 23:03:10 -04:00
Qiang Xue
de63a46d82
Fixes #4984 .
2014-09-10 21:57:02 -04:00
Qiang Xue
f50f840a55
Fixes #4955 : Replaced callbacks with events for ActiveForm
2014-09-09 22:37:27 -04:00
Qiang Xue
b4c4b4053a
Fixes #3511 : Dropped yii.allowAction() and modified yii.confirm() in yii.js to support callbacks
2014-09-06 20:03:36 -04:00
Qiang Xue
ae13b0593f
Fixes #3410 : yii.activeForm.js now supports adding/removing fields dynamically
2014-09-05 23:10:23 -04:00
Qiang Xue
262a77caca
Added yii\web\Response::enableCsrfCookie to support storing CSRF tokens in session
2014-09-04 12:20:09 -04:00
Qiang Xue
f34b138aab
Fixes #4225 : Added ActiveForm::validateOnBlur and ActiveField::validateOnBlur
2014-09-03 16:14:54 -04:00
Qiang Xue
d184fbb8ed
new asset WIP [skip ci]
2014-08-29 14:54:49 -04:00
Thiago Talma
81c225f470
Upgrade jquery.inputmask to Version: 3.1.1
2014-08-21 17:25:03 -03:00
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
Qiang Xue
f59943aaaf
Merge pull request #4589 from thiagotalma/inputmask
...
Upgrade jquery.inputmask to v3.0.59
2014-08-04 22:06:55 -04:00
Alex-Code
594b57836d
Added validation js callbacks
...
- `beforeValidateAll`
- `afterValidateAll`
fixes #4234 , close #4559
2014-08-04 18:06:10 +02:00
Thiago Talma
d635ab857b
Upgrade jquery.inputmask to v3.0.59
2014-08-04 12:31:20 -03:00
Qiang Xue
3f9d590dbe
minor fix [skip ci]
2014-08-03 08:30:30 -04:00
Qiang Xue
f0fefbb609
renamed function name [skip ci]
2014-08-02 22:38:55 -04:00
Qiang Xue
6dd2203a5c
Fixes #4566 : Added client validation support for image validator
2014-08-02 22:36:22 -04:00
Tomek Romik
87f58e4859
Abort further validation if there are no files to validate
2014-08-02 17:04:42 -04:00
Tomek Romik
8c5c4c503b
Fix lines
2014-08-02 17:04:42 -04:00
Tomek Romik
ed3564c1cf
Added client-side image validation
2014-08-02 17:04:42 -04:00
Alex-Code
3a10c4cfa4
Update yii.activeForm.js
...
Refactored
2014-07-30 14:24:47 +01:00
Alex-Code
66e0e8aafb
Update yii.activeForm.js
2014-07-28 17:14:44 +01:00
Alex-Code
334b313020
Update yii.activeForm.js
...
remove empty message arrays
2014-07-28 16:23:29 +01:00
Alex-Code
5186343734
deferred validation
...
Added support of deferred to ```ActiveForm``` validation.
2014-07-28 09:52:21 +01:00
Thiago Talma
88191bbe5c
New callback functions for form validation using Ajax.
...
close #4436
2014-07-25 09:24:04 +02:00
Qiang Xue
95460f92b2
Fixes #4360 : Added client validation support for file validator
2014-07-23 22:56:04 -04:00