hof 20.1.15 → 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
- 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.17",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",