Alexander Makarov
dab2b03f09
Fixes #5863 : Selecting all individual `yii\grid\CheckboxColumn` checkboxes in grid view wasn't resulting in "all" checkbox selected
10 years ago
Qiang Xue
1008249b54
Fixes incorrect submit button detection.
10 years ago
Qiang Xue
f1812210a8
Fixes #5768 : When setting `data-confirm` attribute to a submit button, clicking on the button would not trigger form submission
10 years ago
Qiang Xue
add2413e08
better way of generating html code.
10 years ago
Qiang Xue
232bcd1dd5
Fixes #5171 : Fixed the bug that ActiveForm + Pjax submit event is only triggered once.
10 years ago
Qiang Xue
82037bc70e
Fixes #5124 : Added support to prevent duplicated form submission when using `ActiveForm`
10 years ago
Qiang Xue
34a2c590e4
Fixes #5117 : Added `beforeFilter` and `afterFilter` JS events to `GridView`
10 years ago
Kartik Visweswaran
db99b5fda5
Code cleanup - beforeFilter and afterFilter events
10 years ago
Kartik Visweswaran
2c64ee0f1d
Updated comments for beforeFilter event
10 years ago
Kartik Visweswaran
9496c46646
Updated formatting - Created beforeFilter and afterFilter grid events
10 years ago
Kartik Visweswaran
4c9556a9f3
Simplified afterFilter event trigger code
10 years ago
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')`.
10 years ago
Kartik Visweswaran
4bd8a8c9dd
Corrected trigger element for beforeFilter
10 years ago
Kartik Visweswaran
df99a2435e
Updated comments for beforeFilter and afterFilter events
10 years ago
Kartik Visweswaran
141e3d7039
Updated comments for beforeFilter event
10 years ago
Kartik Visweswaran
f95be734cf
Created beforeFilter and afterFilter grid events
...
Events `beforeFilter.yiiGridView` and `afterFilter.yiiGridView` javascript events created for advanced use cases.
10 years ago
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.
10 years ago
Qiang Xue
deb6ba3cf9
Fixes #5105 [skip ci]
10 years ago
Qiang Xue
108b451805
Fixes #5049 .
10 years ago
Qiang Xue
a187d47aec
Fixes #5049 : `ActiveForm::validationDelay` should be applied to user types only
10 years ago
Qiang Xue
8d082c11a1
Fixes #5050 .
10 years ago
Qiang Xue
72a81b8e31
Fixes #3581 : Added `yii\validators\CompareValidator::type` to support type conversion before comparing values
10 years ago
Qiang Xue
0fc46760b0
Fixes #4905 : ActiveForm::$validationDelay doesn't delay after keyrelease when $validateOnType=true
10 years ago
Qiang Xue
11132cee1a
Fixes #5006 .
10 years ago
Qiang Xue
de63a46d82
Fixes #4984 .
10 years ago
Qiang Xue
f50f840a55
Fixes #4955 : Replaced callbacks with events for `ActiveForm`
10 years ago
Qiang Xue
b4c4b4053a
Fixes #3511 : Dropped `yii.allowAction()` and modified `yii.confirm()` in `yii.js` to support callbacks
10 years ago
Qiang Xue
ae13b0593f
Fixes #3410 : yii.activeForm.js now supports adding/removing fields dynamically
10 years ago
Qiang Xue
262a77caca
Added `yii\web\Response::enableCsrfCookie` to support storing CSRF tokens in session
10 years ago
Qiang Xue
f34b138aab
Fixes #4225 : Added `ActiveForm::validateOnBlur` and `ActiveField::validateOnBlur`
10 years ago
Qiang Xue
d184fbb8ed
new asset WIP [skip ci]
10 years ago
Thiago Talma
81c225f470
Upgrade jquery.inputmask to Version: 3.1.1
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
Alex-Code
594b57836d
Added validation js callbacks
...
- `beforeValidateAll`
- `afterValidateAll`
fixes #4234 , close #4559
10 years ago
Thiago Talma
d635ab857b
Upgrade jquery.inputmask to v3.0.59
10 years ago
Qiang Xue
3f9d590dbe
minor fix [skip ci]
10 years ago
Qiang Xue
f0fefbb609
renamed function name [skip ci]
10 years ago
Qiang Xue
6dd2203a5c
Fixes #4566 : Added client validation support for image validator
10 years ago
Tomek Romik
87f58e4859
Abort further validation if there are no files to validate
10 years ago
Tomek Romik
8c5c4c503b
Fix lines
10 years ago
Tomek Romik
ed3564c1cf
Added client-side image validation
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Alex-Code
3a10c4cfa4
Update yii.activeForm.js
...
Refactored
10 years ago
Alex-Code
66e0e8aafb
Update yii.activeForm.js
10 years ago
Alex-Code
334b313020
Update yii.activeForm.js
...
remove empty message arrays
10 years ago
Alex-Code
5186343734
deferred validation
...
Added support of deferred to ```ActiveForm``` validation.
10 years ago
Thiago Talma
88191bbe5c
New callback functions for form validation using Ajax.
...
close #4436
10 years ago
Qiang Xue
95460f92b2
Fixes #4360 : Added client validation support for file validator
10 years ago
Tomek Romik
1a3a266fcd
Changed Array.prototype.slice.call() into jQuery's $.each function for consistency
10 years ago
Tomek Romik
b3f0f7dceb
Fixed typo and inconsistent conditionals
10 years ago