mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
allow to add checked checkboxes in builder
This commit is contained in:
1 parent
1b90f77e82
commit
edb6d561f1
4 files changed
+31
-3
No files matched your search
@@ -103,6 +103,7 @@ module Submitters
|
||||
end
|
||||
|
||||
def replace_default_variables(value, attrs, template, with_time: false)
|
||||
return value if value.in?([true, false])
|
||||
return if value.blank?
|
||||
|
||||
value.to_s.gsub(VARIABLE_REGEXP) do |e|
|
||||
|
||||
Reference in new issue
Block a user