mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
recipient fields condition
This commit is contained in:
1 parent
0d8e2c5ff0
commit
d078727070
4 files changed
+166
-6
No files matched your search
@@ -49,7 +49,8 @@ module Submitters
|
||||
new_field = recipient_form_fields.to_a.find { |e| e['name'] == key }.deep_dup
|
||||
|
||||
if new_field && fields.present?
|
||||
new_field = new_field.merge('uuid' => SecureRandom.uuid,
|
||||
new_field = new_field.except('conditions')
|
||||
.merge('uuid' => SecureRandom.uuid,
|
||||
'readonly' => true,
|
||||
'submitter_uuid' => fields.first['submitter_uuid'])
|
||||
|
||||
|
||||
Reference in new issue
Block a user