@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.
- package/dist/formio.form.js +1 -1
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +2 -2
- package/dist/formio.full.min.js +1 -1
- package/lib/cjs/WebformBuilder.js +0 -1
- package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +1 -1
- package/lib/mjs/WebformBuilder.js +0 -1
- package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
},
|