mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
add field color
This commit is contained in:
1 parent
ca7ab5aab7
commit
76f1f140ac
8 files changed
+30
-3
No files matched your search
@@ -226,6 +226,10 @@ export default {
|
||||
if (this.$refs.canvas) {
|
||||
this.pad = new SignaturePad(this.$refs.canvas)
|
||||
|
||||
if (this.field.preferences?.color) {
|
||||
this.pad.penColor = this.field.preferences.color
|
||||
}
|
||||
|
||||
this.pad.addEventListener('beginStroke', () => {
|
||||
this.isInitialsStarted = true
|
||||
|
||||
|
||||
Reference in new issue
Block a user