@formio/js 5.1.0-dev.6203.fca166f → 5.1.0-dev.6205.d795b91

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.
@@ -841,6 +841,9 @@ class NestedComponent extends Field_1.default {
841
841
  }
842
842
  }
843
843
  setValue(value, flags = {}) {
844
+ if (!value) {
845
+ return false;
846
+ }
844
847
  // If the value is equal to the empty value, then this means we need to reset the values.
845
848
  if (lodash_1.default.isEqual(value, this.emptyValue)) {
846
849
  // TO-DO: For a future major release, we need to investigate removing the need for the
@@ -78,9 +78,6 @@ exports.interpolate = interpolate;
78
78
  * @returns {void}
79
79
  */
80
80
  function registerEvaluator(override) {
81
- if (override.noeval) {
82
- exports.Evaluator.noeval = override.noeval;
83
- }
84
81
  exports.Evaluator = override;
85
82
  }
86
83
  exports.registerEvaluator = registerEvaluator;
@@ -835,6 +835,9 @@ export default class NestedComponent extends Field {
835
835
  }
836
836
  }
837
837
  setValue(value, flags = {}) {
838
+ if (!value) {
839
+ return false;
840
+ }
838
841
  // If the value is equal to the empty value, then this means we need to reset the values.
839
842
  if (_.isEqual(value, this.emptyValue)) {
840
843
  // TO-DO: For a future major release, we need to investigate removing the need for the
@@ -67,8 +67,5 @@ export function interpolate(...args) {
67
67
  * @returns {void}
68
68
  */
69
69
  export function registerEvaluator(override) {
70
- if (override.noeval) {
71
- Evaluator.noeval = override.noeval;
72
- }
73
70
  Evaluator = override;
74
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.1.0-dev.6203.fca166f",
3
+ "version": "5.1.0-dev.6205.d795b91",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {