hof 20.1.15 → 20.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,7 +63,8 @@ function validate(fields) {
|
|
63
63
|
debug(`Validating field: "${key}" with value: "${value}"`);
|
64
64
|
|
65
65
|
function shouldValidate() {
|
66
|
-
|
66
|
+
// validationLink used to validates multiple dependent fields in checkbox-group
|
67
|
+
let dependent = fields[key].dependent || fields[key].validationLink;
|
67
68
|
|
68
69
|
if (typeof dependent === 'string') {
|
69
70
|
dependent = {
|