@processmaker/screen-builder 2.5.25 → 2.5.26

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/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/screen-builder",
3
- "version": "2.5.25",
3
+ "version": "2.5.26",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/screen-builder",
3
- "version": "2.5.25",
3
+ "version": "2.5.26",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -69,6 +69,8 @@ const uniqIdsMixin = createUniqIdsMixin();
69
69
  const ignoreErrors = [
70
70
  'Cannot read property \'assignBrowse\' of null',
71
71
  'Cannot read property \'assignDrop\' of null',
72
+ 'Cannot read properties of null (reading \'assignBrowse\')',
73
+ 'Cannot read properties of null (reading \'assignDrop\')',
72
74
  ];
73
75
 
74
76
  export default {
@@ -3,7 +3,7 @@ import { debounce } from 'lodash';
3
3
 
4
4
  export default {
5
5
  mounted() {
6
- this.refreshValidationRulesByName = debounce(this.refreshValidationRulesByName, 300);
6
+ this.refreshValidationRulesByName = debounce(this.refreshValidationRulesByName, 1000);
7
7
 
8
8
  this.$root.$on('refresh-validation-rules', () => {
9
9
  this.loadValidationRules();
@@ -28,7 +28,9 @@ export default {
28
28
  const data = Object.assign({ _parent: this._parent }, this.vdata);
29
29
  const isVisible = !!Parser.evaluate(rule, Object.assign({}, data));
30
30
 
31
- this.refreshValidationRulesByName(fieldName, isVisible);
31
+ window.setTimeout(() => {
32
+ this.refreshValidationRulesByName(fieldName, isVisible);
33
+ }, 1000);
32
34
  return isVisible;
33
35
  } catch (e) {
34
36
  return false;