mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
add field conditions placeholder
This commit is contained in:
1 parent
fb6ede564e
commit
ae3f939d23
12 files changed
+354
-39
No files matched your search
@@ -278,6 +278,14 @@ export default {
|
||||
removeField (field) {
|
||||
this.fields.splice(this.fields.indexOf(field), 1)
|
||||
|
||||
this.fields.forEach((f) => {
|
||||
(f.conditions || []).forEach((c) => {
|
||||
if (c.field_uuid === field.uuid) {
|
||||
f.conditions.splice(f.conditions.indexOf(c), 1)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
this.save()
|
||||
},
|
||||
addField (type, area = null) {
|
||||
|
||||
Reference in new issue
Block a user