mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
fix submitter dropdown bug on safari
This commit is contained in:
1 parent
32b453f9a2
commit
50e9222216
1 file changed
+5
-4
@@ -86,10 +86,11 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
onBlur (e) {
|
||||
this.value = this.$refs.contenteditable.innerText.trim() || this.modelValue
|
||||
|
||||
this.$emit('update:model-value', this.value)
|
||||
this.$emit('blur', e)
|
||||
setTimeout(() => {
|
||||
this.value = this.$refs.contenteditable.innerText.trim() || this.modelValue
|
||||
this.$emit('update:model-value', this.value)
|
||||
this.$emit('blur', e)
|
||||
}, 1)
|
||||
},
|
||||
focusContenteditable () {
|
||||
this.$refs.contenteditable.focus()
|
||||
|
||||
Reference in new issue
Block a user