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()
|
this.save()
|
||||||
},
|
},
|
||||||
onDefaultValueEnter (e) {
|
onDefaultValueEnter (e) {
|
||||||
if (this.field.type !== 'heading') {
|
if (this.field.type === 'heading') return
|
||||||
e.preventDefault()
|
if (e.shiftKey && this.field.type === 'text') return
|
||||||
|
|
||||||
this.$refs.defaultValue.blur()
|
e.preventDefault()
|
||||||
}
|
|
||||||
|
this.$refs.defaultValue.blur()
|
||||||
},
|
},
|
||||||
resize (e) {
|
resize (e) {
|
||||||
if (e.target.id === 'mask') {
|
if (e.target.id === 'mask') {
|
||||||
|
|||||||
Reference in new issue
Block a user