mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
set dynamic fields
This commit is contained in:
1 parent
b2dfa83f18
commit
961f09e092
3 files changed
+69
-7
No files matched your search
@@ -28,6 +28,8 @@ class DynamicDocument < ApplicationRecord
|
||||
|
||||
has_many :versions, class_name: 'DynamicDocumentVersion', dependent: :destroy
|
||||
|
||||
attribute :fields, :json
|
||||
|
||||
before_validation :set_sha1
|
||||
|
||||
def set_sha1
|
||||
|
||||
Reference in new issue
Block a user