Qiang Xue
e56bf03130
Fixed test break.
10 years ago
Qiang Xue
57c298a523
Fixes #7361 : The `trim` validator now works on the client side too
10 years ago
Qiang Xue
770d65a052
Fixes #6361
10 years ago
Qiang Xue
4dcbe83aa6
Fixes #6361 : Added `validateAttribute()` to `yii.activeForm.js` to support manually triggering data validation of an input
10 years ago
Alex-Code
a43833544b
Attach forceValidate event to attributes
...
Allow attributes to have their validation triggered by a custom event.
`validateAttribute` is called with `forceValidate` set to true.
10 years ago
Qiang Xue
7031020c63
Fixes #6661 : Hyperlinks that are enclosed within an exist form will use the same form for submission if they specify both of the `href` and `data-method` attributes
10 years ago
Qiang Xue
9c287cb651
Fixes #5663 and #5671 : Added support for using `data-params` to specify additional form data to be submitted via the `data-method` approach
10 years ago
usualdesigner
80cc9cc16f
Basic implementation of the data-params attributes
10 years ago
Qiang Xue
fa0a3aefae
Fixes #6467 : `ActiveForm` will scroll to the nearest visible element when the first error input is hidden
10 years ago
Qiang Xue
8809d422dc
Fixes #5005 : Added support to suppress loading the same CSS files in AJAX responses
10 years ago
Tomek Romik
daddc61e7b
Add File API detection to client file validator
...
Fixes #6345
10 years ago
Qiang Xue
2a0797dd23
Fixes #6266 : Clicking on reset button does not hide error summary when using `ActiveForm`
10 years ago
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