Marco van 't Wout
7e323ba07c
Fix #18650 : Refactor framework/assets/yii.activeForm.js arrow function into traditional function for IE11 compatibility
2021-05-12 18:11:39 +03:00
Toir Tuychiev
2650948e87
Fix #18323 : Fix client validation of RadioList when there are disabled items
2021-04-01 01:13:53 +03:00
Dmitry Brusensky
47446a5a99
Fix #18386 : Fix assets/yii.activeForm.js incorrect target selector for validatingCssClass
2020-11-23 23:07:40 +03:00
DarkDef
f212925242
Fix #18239 : Fix support of no-extension files for FileValidator::validateExtension()
2020-08-19 20:32:15 +03:00
Kartik Visweswaran
cf364f5e00
Fix #17147 : Fix form attribute validations for empty select inputs
2020-08-04 19:47:40 +03:00
DarkDef
f944e1f039
Fix #18094 : Support for composite file extension validation
2020-07-03 19:06:49 +03:00
Baso10
647d53ad1f
Fix #17653 : Fix TypeError: pair[1] is undefined when query param doesn't have = sign
2020-04-30 19:35:03 +03:00
Yuriy Mamaev
40fff67aa4
Fix #8225 : Fixed AJAX validation with checkboxList was only triggered on first select
2019-10-22 12:32:41 +03:00
Michael Härtl
e6d7881bbe
Fix #17341 Re-add fix for yii.activeForm.js in strict mode ( #17398 )
2019-06-27 14:44:13 +07:00
Andriy Borysov
662e367cce
Fixes #17332 : Trigger 'change' for checkboxes in GridView
2019-06-18 16:21:20 +03:00
Ashton Schultz
1f9131d841
Fixes #12080 : Fixed afterValidate triggering when any validation occurs
2019-06-18 11:55:39 +03:00
Michael Härtl
3297f207f5
Fixes #17341 : Fixed error from yii.activeForm.js in strict mode
2019-06-06 16:08:00 +02:00
Nikolay Poryadin
dafaff0a02
Fixes #16158 : Fix multiple select validation was trigged on other fields blur event
2019-03-20 20:09:34 +03:00
Mehdi Achour
5544d31bb3
Fix #17049 : Use var instead of let ( #17055 )
2019-01-21 15:21:47 +03:00
Nikolay
c59df914c1
Fixes #16253 : Fixed empty checkboxlist validation
2019-01-10 09:17:37 -05:00
Evgeniy Moiseenko
46c50e43c4
Skip validation if file input does not exist ( #13977 )
2018-10-31 01:40:04 +03:00
RobinKamps
0f0e895475
Fixes #13977 : Skip validation if file input does not exist
2018-10-31 01:39:55 +03:00
Evgeniy Moiseenko
dfe828f76b
Fixes #13932 : Fix number validator attributes comparison
2018-10-19 23:56:30 +03:00
Evgeniy Moiseenko
cfe0bf5cf1
Fixes #14039 , fixes #16636 : Fixed validation for disabled inputs
2018-10-19 01:26:40 +03:00
Evgeniy Moiseenko
7c76696905
Fixes #16425 : Check for additional values for disabled confirm dialog
2018-10-19 00:39:22 +03:00
Evgeniy Moiseenko
6e02082303
Fixes #16716 : The ability to filter by pressing the Enter key when the option $filterOnFocusOut off
2018-09-28 15:36:44 +03:00
Rustam Mamadaminov
a953e7e423
Fixes #15791 : Added a warning when the form names conflict
2018-09-24 18:45:42 +03:00
Alexander Makarov
8b3da74fc0
Fixed #14901 : fixed both implementation and test of trim() JavaScript validator
2018-09-08 02:12:34 +03:00
Evgeniy Moiseenko
b36639b288
Fixes #14901 : Fixed trim validation for radio/checkbox button
2018-08-04 01:06:15 +03:00
Mikhail
1ad85c640b
Bug #15826 : Fixed JavaScript compareValidator in yii.validation.js for attributes not in rules (mgrechanik)
2018-07-19 12:19:32 +08:00
Evgeniy Moiseenko
80d0c2b05a
Fixes #16365 : Added $filterOnFocusOut option for GridView
2018-07-04 21:42:40 +03:00
Viktor
77ad6bc008
Fixes #15678 : Fixed resetForm method in yii.activeForm.js which used an undefined variable
2018-02-23 12:58:47 +03:00
Alexander Makarov
b3130be7ba
Fixes #15476 : Added \yii\widgets\ActiveForm::$validationStateOn to be able to specify where to add class for invalid fields
2018-01-31 03:03:21 +07:00
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
2017-12-01 10:30:41 +02:00
Mikk Tendermann
c009b06114
Fixes #14604 : Fixed yii\validators\CompareValidator compareAttribute does not work if compareAttribute form ID has been changed
2017-11-15 00:43:14 +03:00
Alexander Makarov
be211f76f5
Removed debug statement [skip ci]
2017-10-06 21:59:29 +02:00
SilverFire - Dmitry Naumenko
7e681b4a56
Fixed yii.js to follow jquery-pjax API changes
...
Fixes #14926
2017-10-06 12:19:13 +03:00
eXeCUT
0e240ef2d0
Container type for pjax must be string
2017-10-04 18:41:39 +03:00
SilverFire - Dmitry Naumenko
70ad9f730b
Updated yii.activeForm to follow jQuery 3.0 API changes
2017-09-09 14:59:02 +03:00
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
2017-08-21 01:58:49 +03:00
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`
2017-07-29 14:37:29 +03:00
Dmitry Dorogin
a731fd4142
Fixes #14318 : Trigger yiiActiveForm.events.afterValidateAttribute after updating attribute
2017-07-24 23:25:47 +03:00
Vladislav Lyshenko
b00cd65ef3
Fixes #13738 : Fixed getQueryParams() method in yii.js to correctly parse URL with question mark and no query parameters
2017-03-16 14:15:05 +03:00
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
2017-02-26 19:31:47 +02:00
Nikolay Oleynikov
323568c2e9
Remove trailing spaces from sources and tests ( #13621 ) [skip ci]
2017-02-19 17:34:22 +03:00
Alexey Rogachev
6b8cf1709e
Fixes #13306 : Wildcard in reloadableScripts in yii.js allows 0 characters
2017-02-18 22:01:01 +03:00
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 .
2017-01-25 11:00:13 +03:00
Alexey Rogachev
8d813f7bf1
Fixes #12840 , #12836 , #13231 , #13232
...
Additionally added tests for #10302 (#10284 (comment)), #10284 (#10217 (comment)), #11729
2016-12-18 12:06:17 +03:00
SilverFire - Dmitry Naumenko
7b5efe5161
Enhanced handleAction() in yii.js
...
Closes #12737
2016-12-17 10:17:30 +02:00
SilverFire - Dmitry Naumenko
a132ee9a08
Fixed order or checks in IpValidator
...
Fixes #13198
2016-12-13 18:14:04 +02:00
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
2016-12-11 21:05:16 +02:00
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)
2016-12-10 14:42:28 +02:00
Carsten Brandt
612afdbc66
Merge pull request #13111 from yiisoft/js-tests
...
Making JS tests ready to go into master.
2016-12-02 22:35:35 +01:00
Alexander Makarov
e1b0cb4343
Merge branch 'master' into aria-required-and-aria-invalid-input-attributes
2016-12-02 23:38:55 +03:00
Alexander Makarov
de4f518b94
More renaming
2016-12-02 14:38:44 +03:00