@formio/js 5.0.0-dev.5716.bdb52c9 → 5.0.0-dev.5718.37a9ce7

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.
@@ -208,8 +208,7 @@ class WebformBuilder extends Component_1.default {
208
208
  params: {
209
209
  type: 'resource',
210
210
  limit: 1000000,
211
- select: '_id,title,name,components',
212
- 'tags__ne': 'noBuilderResource'
211
+ select: '_id,title,name,components'
213
212
  }
214
213
  };
215
214
  if (this.options && this.options.resourceTag) {
@@ -1083,6 +1082,7 @@ class WebformBuilder extends Component_1.default {
1083
1082
  lodash_1.default.pull(newComp.validators, 'required');
1084
1083
  parentComponent.tabs[tabIndex].splice(index, 1, newComp);
1085
1084
  newComp.checkValidity = () => true;
1085
+ newComp.checkComponentValidity = () => true;
1086
1086
  newComp.build(defaultValueComponent.element);
1087
1087
  }
1088
1088
  }
@@ -187,8 +187,7 @@ export default class WebformBuilder extends Component {
187
187
  params: {
188
188
  type: 'resource',
189
189
  limit: 1000000,
190
- select: '_id,title,name,components',
191
- 'tags__ne': 'noBuilderResource'
190
+ select: '_id,title,name,components'
192
191
  }
193
192
  };
194
193
  if (this.options && this.options.resourceTag) {
@@ -1067,6 +1066,7 @@ export default class WebformBuilder extends Component {
1067
1066
  _.pull(newComp.validators, 'required');
1068
1067
  parentComponent.tabs[tabIndex].splice(index, 1, newComp);
1069
1068
  newComp.checkValidity = () => true;
1069
+ newComp.checkComponentValidity = () => true;
1070
1070
  newComp.build(defaultValueComponent.element);
1071
1071
  }
1072
1072
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-dev.5716.bdb52c9",
3
+ "version": "5.0.0-dev.5718.37a9ce7",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {