mirror of
https://github.com/docusealco/docuseal
synced 2026-11-15 16:12:32 -05:00
fix acro form fields
This commit is contained in:
1 parent
1cae12b728
commit
69376c0faf
1 file changed
+1
-1
@@ -190,7 +190,7 @@ module Templates
|
|||||||
}
|
}
|
||||||
elsif field.field_type == :Tx
|
elsif field.field_type == :Tx
|
||||||
if field[:AA] && ((field[:AA][:F] && field[:AA][:F][:JS].include?('AFDate_')) ||
|
if field[:AA] && ((field[:AA][:F] && field[:AA][:F][:JS].include?('AFDate_')) ||
|
||||||
(field[:AA][:K] && field[:AA][:F][:JS].include?('AFDate_')))
|
(field[:AA][:K] && field[:AA][:K][:JS].include?('AFDate_')))
|
||||||
if (format = field[:AA][:F][:JS][DATE_FORMAT_REGEXP])
|
if (format = field[:AA][:F][:JS][DATE_FORMAT_REGEXP])
|
||||||
attrs[:preferences] ||= {}
|
attrs[:preferences] ||= {}
|
||||||
attrs[:preferences][:format] = format.upcase
|
attrs[:preferences][:format] = format.upcase
|
||||||
|
|||||||
Reference in new issue
Block a user