@formio/js 5.0.0-dev.5915.7385833 → 5.0.0-dev.5917.280d8f5

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.
@@ -1188,7 +1188,6 @@ class WebformBuilder extends Component_1.default {
1188
1188
  }
1189
1189
  const rebuild = parentComponent.rebuild() || Promise.resolve();
1190
1190
  return rebuild.then(() => {
1191
- parentComponent.resetValue();
1192
1191
  const schema = parentContainer ? parentContainer[index] : (comp ? comp.schema : []);
1193
1192
  this.emitSaveComponentEvent(schema, originalComp, parentComponent.schema, path, index, isNew, originalComponentSchema);
1194
1193
  this.emit('change', this.form);
@@ -27,7 +27,7 @@ exports.default = [
27
27
  weight: 100,
28
28
  type: 'checkbox',
29
29
  label: 'Validate When Hidden',
30
- tooltip: 'Validates the component when it is hidden/conditionally hidden. Vaildation errors are displayed in the error alert on the form submission.',
30
+ tooltip: 'Validates the component when it is hidden/conditionally hidden. Vaildation errors are displayed in the error alert on the form submission. Use caution when enabling this setting, as it can cause a hidden component to be invalid with no way for the form user to correct it.',
31
31
  key: 'validateWhenHidden',
32
32
  input: true
33
33
  },
@@ -1172,7 +1172,6 @@ export default class WebformBuilder extends Component {
1172
1172
  }
1173
1173
  const rebuild = parentComponent.rebuild() || Promise.resolve();
1174
1174
  return rebuild.then(() => {
1175
- parentComponent.resetValue();
1176
1175
  const schema = parentContainer ? parentContainer[index] : (comp ? comp.schema : []);
1177
1176
  this.emitSaveComponentEvent(schema, originalComp, parentComponent.schema, path, index, isNew, originalComponentSchema);
1178
1177
  this.emit('change', this.form);
@@ -22,7 +22,7 @@ export default [
22
22
  weight: 100,
23
23
  type: 'checkbox',
24
24
  label: 'Validate When Hidden',
25
- tooltip: 'Validates the component when it is hidden/conditionally hidden. Vaildation errors are displayed in the error alert on the form submission.',
25
+ tooltip: 'Validates the component when it is hidden/conditionally hidden. Vaildation errors are displayed in the error alert on the form submission. Use caution when enabling this setting, as it can cause a hidden component to be invalid with no way for the form user to correct it.',
26
26
  key: 'validateWhenHidden',
27
27
  input: true
28
28
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-dev.5915.7385833",
3
+ "version": "5.0.0-dev.5917.280d8f5",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {