hof 20.1.15 → 20.1.19

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
- let dependent = fields[key].dependent;
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.15",
4
+ "version": "20.1.19",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -79,7 +79,7 @@
79
79
  "nodemailer-ses-transport": "^1.5.0",
80
80
  "nodemailer-smtp-transport": "^2.7.4",
81
81
  "nodemailer-stub-transport": "^1.1.0",
82
- "notifications-node-client": "^5.1.1",
82
+ "notifications-node-client": "^6.0.0",
83
83
  "redis": "^3.1.2",
84
84
  "reqres": "^3.0.1",
85
85
  "request": "^2.79.0",