Skip to content

Commit 3a84ca5

Browse files
committed
Merge branch 'hotfix-1.2.2' into stable
2 parents d799913 + 45c6c9e commit 3a84ca5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v1.2.2
4+
5+
* Add missing client side validation for the `requiredifotherfieldmatchsystemlookup` validator
6+
37
## v1.2.1
48

59
* Update build version generator

services/validation/ValidationExtrasValidators.cfc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ component {
7878

7979
return !( listFindNoCase( lookupValue, otherFieldValue ) && !len( trim( value ) ) );
8080
}
81-
81+
public string function requiredIfOtherFieldMatchSystemLookup_js() {
82+
return "function( value, el, params ) { return true; }";
83+
}
8284

8385
public boolean function requiredIfOtherFieldInValues( required string fieldName, any value="", required struct data, required string otherField, required string otherFieldValues ) validatorMessage="cms:validation.conditional.required.default" {
8486

0 commit comments

Comments
 (0)