mirror of
https://github.com/docusealco/docuseal
synced 2026-11-16 08:12:32 -05:00
shift enter value
This commit is contained in:
1 parent
4fb3e5bd47
commit
06c44e8b2f
1 file changed
+5
-4
@@ -700,11 +700,12 @@ export default {
|
||||
this.save()
|
||||
},
|
||||
onDefaultValueEnter (e) {
|
||||
if (this.field.type !== 'heading') {
|
||||
e.preventDefault()
|
||||
if (this.field.type === 'heading') return
|
||||
if (e.shiftKey && this.field.type === 'text') return
|
||||
|
||||
this.$refs.defaultValue.blur()
|
||||
}
|
||||
e.preventDefault()
|
||||
|
||||
this.$refs.defaultValue.blur()
|
||||
},
|
||||
resize (e) {
|
||||
if (e.target.id === 'mask') {
|
||||
|
||||
Reference in new issue
Block a user