mirror of
https://github.com/docusealco/docuseal
synced 2026-11-12 15:42:32 -05:00
add field mask
This commit is contained in:
1 parent
4116746be3
commit
23dcd62672
5 files changed
+40
-8
No files matched your search
@@ -366,6 +366,8 @@ module Submissions
|
||||
|
||||
value = value.join(', ') if value.is_a?(Array)
|
||||
|
||||
value = TextUtils.mask_value(value) if field.dig('preferences', 'mask').present?
|
||||
|
||||
composer.formatted_text_box([{ text: TextUtils.maybe_rtl_reverse(value.to_s.presence || 'n/a') }],
|
||||
text_align: value.to_s.match?(RTL_REGEXP) ? :right : :left,
|
||||
padding: [0, 0, 10, 0])
|
||||
|
||||
Reference in new issue
Block a user