mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
fix default number
This commit is contained in:
1 parent
f2782bd84e
commit
f2fd5fb82b
1 file changed
+1
-1
@@ -207,7 +207,7 @@ module Submitters
|
||||
end
|
||||
|
||||
def replace_default_variables(value, attrs, submission, with_time: false)
|
||||
return value if value.in?([true, false])
|
||||
return value if value.in?([true, false]) || value.is_a?(Numeric)
|
||||
return if value.blank?
|
||||
|
||||
value.to_s.gsub(VARIABLE_REGEXP) do |e|
|
||||
|
||||
Reference in new issue
Block a user