265 Commits

Author SHA1 Message Date
4c9556a9f3 Simplified afterFilter event trigger code 2014-09-22 11:34:58 -04:00
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
4bd8a8c9dd Corrected trigger element for beforeFilter 2014-09-22 11:34:57 -04:00
df99a2435e Updated comments for beforeFilter and afterFilter events 2014-09-22 11:34:57 -04:00
141e3d7039 Updated comments for beforeFilter event 2014-09-22 11:34:56 -04:00
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
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
deb6ba3cf9 Fixes #5105 [skip ci] 2014-09-18 16:47:43 -04:00
108b451805 Fixes #5049. 2014-09-18 15:41:11 -04:00
074c1f6c53 Merge branch 'master' into new-asset
Conflicts:
	apps/basic/composer.json
	composer.json
2014-09-16 20:03:53 -04:00
a187d47aec Fixes #5049: ActiveForm::validationDelay should be applied to user types only 2014-09-16 14:40:00 -04:00
8d082c11a1 Fixes #5050. 2014-09-16 14:15:32 -04:00
72a81b8e31 Fixes #3581: Added yii\validators\CompareValidator::type to support type conversion before comparing values 2014-09-16 11:41:54 -04:00
0fc46760b0 Fixes #4905: ActiveForm::$validationDelay doesn't delay after keyrelease when $validateOnType=true 2014-09-15 23:24:12 -04:00
11132cee1a Fixes #5006. 2014-09-15 23:03:10 -04:00
de63a46d82 Fixes #4984. 2014-09-10 21:57:02 -04:00
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -04:00
b4c4b4053a Fixes #3511: Dropped yii.allowAction() and modified yii.confirm() in yii.js to support callbacks 2014-09-06 20:03:36 -04:00
ae13b0593f Fixes #3410: yii.activeForm.js now supports adding/removing fields dynamically 2014-09-05 23:10:23 -04:00
262a77caca Added yii\web\Response::enableCsrfCookie to support storing CSRF tokens in session 2014-09-04 12:20:09 -04:00
f34b138aab Fixes #4225: Added ActiveForm::validateOnBlur and ActiveField::validateOnBlur 2014-09-03 16:14:54 -04:00
d184fbb8ed new asset WIP [skip ci] 2014-08-29 14:54:49 -04:00
81c225f470 Upgrade jquery.inputmask to Version: 3.1.1 2014-08-21 17:25:03 -03:00
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
f59943aaaf Merge pull request #4589 from thiagotalma/inputmask
Upgrade jquery.inputmask to v3.0.59
2014-08-04 22:06:55 -04:00
594b57836d Added validation js callbacks
- `beforeValidateAll`
- `afterValidateAll`

fixes #4234, close #4559
2014-08-04 18:06:10 +02:00
d635ab857b Upgrade jquery.inputmask to v3.0.59 2014-08-04 12:31:20 -03:00
3f9d590dbe minor fix [skip ci] 2014-08-03 08:30:30 -04:00
f0fefbb609 renamed function name [skip ci] 2014-08-02 22:38:55 -04:00
6dd2203a5c Fixes #4566: Added client validation support for image validator 2014-08-02 22:36:22 -04:00
87f58e4859 Abort further validation if there are no files to validate 2014-08-02 17:04:42 -04:00
8c5c4c503b Fix lines 2014-08-02 17:04:42 -04:00
ed3564c1cf Added client-side image validation 2014-08-02 17:04:42 -04:00
3a10c4cfa4 Update yii.activeForm.js
Refactored
2014-07-30 14:24:47 +01:00
66e0e8aafb Update yii.activeForm.js 2014-07-28 17:14:44 +01:00
334b313020 Update yii.activeForm.js
remove empty message arrays
2014-07-28 16:23:29 +01:00
5186343734 deferred validation
Added support of deferred to ```ActiveForm``` validation.
2014-07-28 09:52:21 +01:00
88191bbe5c New callback functions for form validation using Ajax.
close #4436
2014-07-25 09:24:04 +02:00
95460f92b2 Fixes #4360: Added client validation support for file validator 2014-07-23 22:56:04 -04:00
1a3a266fcd Changed Array.prototype.slice.call() into jQuery's $.each function for consistency 2014-07-23 22:41:35 -04:00
b3f0f7dceb Fixed typo and inconsistent conditionals 2014-07-23 22:41:35 -04:00
d1c2b137b3 Added client-side file validator 2014-07-23 22:41:35 -04:00
3df855f96b Upgrade jquery.inputmask to v3.0.52 2014-07-09 17:16:20 -03:00
255bd33aff Fixes #3934: Added attr() method instead prop() to get valid action url. 2014-06-19 11:33:21 +03:00
ffa596f5f4 Fixes #3934: yii.handleAction() in yii.js does not handle the case when a hyperlink is a hash character 2014-06-17 21:26:19 -04:00
aa51947e2f Update jquery.inputmask.bundle.min.js
Upgrade to 3.0.40
2014-06-17 16:12:06 -03:00
8331ff018d Fix #3196: Masked input widget revamped to use new plugin 2014-06-03 19:32:07 +05:30
d3dd1352b9 RangeValidator typo fix 2014-05-23 20:06:56 +04:00
12a143bdac RangeValidator client side type conversion to array 2014-05-23 15:30:37 +04:00
a4e8829717 Additional RangeValidator fixes 2014-05-23 15:26:09 +04:00