mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix pdf sign
This commit is contained in:
1 parent
ee2400a5c5
commit
7c5372a8e2
1 file changed
+10
@@ -64,6 +64,16 @@ module HexaPDF
|
||||
end
|
||||
end
|
||||
|
||||
# fix NoMethodError: undefined method `stream' for an instance of Symbol
|
||||
class TextField
|
||||
def field_value
|
||||
return unless value[:V]
|
||||
return self[:V].to_s if self[:V].is_a?(Symbol)
|
||||
|
||||
self[:V].is_a?(String) ? self[:V] : self[:V].stream
|
||||
end
|
||||
end
|
||||
|
||||
class AppearanceGenerator
|
||||
def create_push_button_appearances
|
||||
nil
|
||||
|
||||
Reference in new issue
Block a user