Marco van 't Wout
7e323ba07c
Fix #18650 : Refactor `framework/assets/yii.activeForm.js` arrow function into traditional function for IE11 compatibility
3 years ago
Toir Tuychiev
2650948e87
Fix #18323 : Fix client validation of RadioList when there are disabled items
4 years ago
Dmitry Brusensky
47446a5a99
Fix #18386 : Fix `assets/yii.activeForm.js` incorrect target selector for `validatingCssClass`
4 years ago
DarkDef
f212925242
Fix #18239 : Fix support of no-extension files for `FileValidator::validateExtension()`
4 years ago
Kartik Visweswaran
cf364f5e00
Fix #17147 : Fix form attribute validations for empty select inputs
4 years ago
DarkDef
f944e1f039
Fix #18094 : Support for composite file extension validation
4 years ago
Baso10
647d53ad1f
Fix #17653 : Fix `TypeError: pair[1] is undefined` when query param doesn't have = sign
4 years ago
Yuriy Mamaev
40fff67aa4
Fix #8225 : Fixed AJAX validation with checkboxList was only triggered on first select
5 years ago
Michael Härtl
e6d7881bbe
Fix #17341 Re-add fix for yii.activeForm.js in strict mode ( #17398 )
5 years ago
Andriy Borysov
662e367cce
Fixes #17332 : Trigger 'change' for checkboxes in GridView
5 years ago
Ashton Schultz
1f9131d841
Fixes #12080 : Fixed afterValidate triggering when any validation occurs
5 years ago
Michael Härtl
3297f207f5
Fixes #17341 : Fixed error from yii.activeForm.js in strict mode
5 years ago
Nikolay Poryadin
dafaff0a02
Fixes #16158 : Fix multiple select validation was trigged on other fields blur event
6 years ago
Mehdi Achour
5544d31bb3
Fix #17049 : Use var instead of let ( #17055 )
6 years ago
Nikolay
c59df914c1
Fixes #16253 : Fixed empty checkboxlist validation
6 years ago
cuileon
489dd119a5
merge from yiisoft/yii2
6 years ago
Evgeniy Moiseenko
46c50e43c4
Skip validation if file input does not exist ( #13977 )
6 years ago
RobinKamps
0f0e895475
Fixes #13977 : Skip validation if file input does not exist
6 years ago
Evgeniy Moiseenko
dfe828f76b
Fixes #13932 : Fix number validator attributes comparison
6 years ago
Evgeniy Moiseenko
cfe0bf5cf1
Fixes #14039 , fixes #16636 : Fixed validation for disabled inputs
6 years ago
Evgeniy Moiseenko
7c76696905
Fixes #16425 : Check for additional values for disabled confirm dialog
6 years ago
Evgeniy Moiseenko
6e02082303
Fixes #16716 : The ability to filter by pressing the Enter key when the option `$filterOnFocusOut` off
6 years ago
Rustam Mamadaminov
a953e7e423
Fixes #15791 : Added a warning when the form names conflict
6 years ago
Alexander Makarov
8b3da74fc0
Fixed #14901 : fixed both implementation and test of trim() JavaScript validator
6 years ago
Evgeniy Moiseenko
b36639b288
Fixes #14901 : Fixed trim validation for radio/checkbox button
6 years ago
Mikhail
1ad85c640b
Bug #15826 : Fixed JavaScript compareValidator in `yii.validation.js` for attributes not in rules (mgrechanik)
6 years ago
Evgeniy Moiseenko
80d0c2b05a
Fixes #16365 : Added $filterOnFocusOut option for GridView
6 years ago
Viktor
77ad6bc008
Fixes #15678 : Fixed `resetForm` method in `yii.activeForm.js` which used an undefined variable
7 years ago
Alexander Makarov
b3130be7ba
Fixes #15476 : Added `\yii\widgets\ActiveForm::$validationStateOn` to be able to specify where to add class for invalid fields
7 years ago
SilverFire - Dmitry Naumenko
1330ca9ec1
Fixed yii.js to follow jQuery 3.0 API changes
...
https://jquery.com/upgrade-guide/3.0/#breaking-change-and-feature-jquery-when-arguments
Single argument that is not a promise will be automatically resolved and passed to `done()` handlers
7 years ago
Mikk Tendermann
c009b06114
Fixes #14604 : Fixed `yii\validators\CompareValidator` `compareAttribute` does not work if `compareAttribute` form ID has been changed
7 years ago
Alexander Makarov
be211f76f5
Removed debug statement [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
7e681b4a56
Fixed yii.js to follow jquery-pjax API changes
...
Fixes #14926
7 years ago
eXeCUT
0e240ef2d0
Container type for pjax must be string
7 years ago
SilverFire - Dmitry Naumenko
70ad9f730b
Updated yii.activeForm to follow jQuery 3.0 API changes
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago
Alexey Rogachev
8f2d9baf98
Fixes #14186 , Fixes #14510 : yiiActiveForm regressions
...
- #14186 : Forced validation in `yiiActiveForm` do not trigger `afterValidate` event
- #14510 : The state of a form is always "not validated" when using forced validation in `yiiActiveForm`
7 years ago
Dmitry Dorogin
a731fd4142
Fixes #14318 : Trigger `yiiActiveForm.events.afterValidateAttribute` after updating attribute
7 years ago
Vladislav Lyshenko
b00cd65ef3
Fixes #13738 : Fixed `getQueryParams()` method in `yii.js` to correctly parse URL with question mark and no query parameters
8 years ago
SilverFire - Dmitry Naumenko
36960da101
Fixed `applyFilter` function in `yii.gridView.js`
...
Closes bug #13379
`applyFilter` function in `yii.gridView.js` fixed to work correctly
when params in `filterUrl` are indexed
8 years ago
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
8 years ago
Alexey Rogachev
6b8cf1709e
Fixes #13306 : Wildcard in `reloadableScripts` in `yii.js` allows 0 characters
8 years ago
Alexey Rogachev
37f19a0256
Fixes #13300 , #13307 , #13310 , #13312
...
- Bug #13300 : Allow pjax with "data-pjax" with no value in `yii.js`.
- Bug #13307 : Preventing of race conditions in script filter in `yii.js` works incorrectly.
- Bug #13310 : Handle relative and absolute URLs coincidence in CSS filter in `yii.js`.
- Bug #13312 : `skipOuterContainers` option was incorrectly passed to pjax in `handleAction` in `yii.js`.
- Partially fixes #13299 .
Adds tests for #8014 , #11921 , #10974 , #11494 , #10358 , #10097 .
8 years ago
Alexey Rogachev
8d813f7bf1
Fixes #12840 , #12836 , #13231 , #13232
...
Additionally added tests for #10302 (#10284 (comment)), #10284 (#10217 (comment)), #11729
8 years ago
SilverFire - Dmitry Naumenko
7b5efe5161
Enhanced `handleAction()` in `yii.js`
...
Closes #12737
8 years ago
SilverFire - Dmitry Naumenko
a132ee9a08
Fixed order or checks in IpValidator
...
Fixes #13198
8 years ago
SilverFire - Dmitry Naumenko
7d494c1915
Fixed unexpected form submit on `validate()` call
...
Fixed `validate()` method in `yii.activeForm.js` to prevent unexpected form submit
when `forceValidate` set to `true`
Closes #13105
8 years ago
Alexey Rogachev
d96363674c
Added JS tests for yii.captcha.js ( #12840 ), fixes #13159 ( #13160 )
...
* Added JS tests for yii.captcha.js (#12840 ), fixes #13159
* Sinon needs to be imported in similar fashion in other test files
* Added according line to CHANGELOG [skip ci]
* Update CHANGELOG.md
* Try to run tests with default timeout in Travis
* Added note about JS tests to the docs [skip ci]
* Simplified tests for multiple elements (init, destroy methods)
8 years ago
Alexander Makarov
de4f518b94
More renaming
8 years ago
Alexander Makarov
dc294ba56f
Renamed variables, changed logic of turning client updates on
8 years ago