hof 20.1.14 → 20.1.17
Sign up to get free protection for your applications and to get access to all the features.
@@ -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 = {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "hof",
|
3
3
|
"description": "A bootstrap for HOF projects",
|
4
|
-
"version": "20.1.
|
4
|
+
"version": "20.1.17",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "index.js",
|
7
7
|
"author": "HomeOffice",
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"libphonenumber-js": "^1.9.37",
|
70
70
|
"lodash": "^4.17.21",
|
71
71
|
"markdown-it": "^12.3.2",
|
72
|
-
"minimatch": "^3.0.
|
72
|
+
"minimatch": "^3.0.7",
|
73
73
|
"minimist": "^1.2.6",
|
74
74
|
"mixwith": "^0.1.1",
|
75
75
|
"moment": "^2.29.4",
|