@creative-web-solution/front-library 7.1.21 → 7.1.22

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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
3
 
4
+ ## 7.1.22
5
+
6
+ * [Validator] Fix MultiRequired validator
7
+
8
+
4
9
  ## 7.1.21
5
10
 
6
11
  * [Validator] Avoid registering the same validator several times
@@ -63,7 +63,8 @@ addValidator( 'multirequired', '[data-multirequired]', ( $input, value, isLiveVa
63
63
  isRadioListChecked( $elem.__$radioGroup ) ) ||
64
64
  ( $elem.type !== 'checkbox' &&
65
65
  $elem.type !== 'radio' &&
66
- Array.isArray( VALUE ) ? VALUE.length > 0 : !isEmpty( VALUE as string ) )
66
+ (Array.isArray( VALUE ) ? VALUE.length > 0 : !isEmpty( VALUE as string ))
67
+ )
67
68
  ) {
68
69
  count++
69
70
  }
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Front Library
2
2
 
3
- @version: 7.1.21
3
+ @version: 7.1.22
4
4
 
5
5
 
6
6
  ## Use
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@creative-web-solution/front-library",
3
3
  "title": "Frontend library",
4
4
  "description": "Frontend functions and modules",
5
- "version": "7.1.21",
5
+ "version": "7.1.22",
6
6
  "homepage": "https://github.com/creative-web-solution/front-library",
7
7
  "author": "Creative Web Solution <contact@cws-studio.com> (https://www.cws-studio.com)",
8
8
  "keywords": [],