mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
fix require value validation
This commit is contained in:
1 parent
ea18f9e28a
commit
c5b0f2c76c
1 file changed
+1
-1
@@ -1316,7 +1316,7 @@ export default {
|
||||
const currentFieldUuids = this.currentStepFields.map((f) => f.uuid)
|
||||
const currentFieldType = this.currentField.type
|
||||
|
||||
if (!formData && !this.$refs.form.checkValidity()) {
|
||||
if (!formData && !this.$refs.form.checkValidity() && currentFieldUuids.every((fieldUuid) => isEmpty(this.submittedValues[fieldUuid]) || !isEmpty(this.values[fieldUuid]))) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user