mirror of
https://github.com/docusealco/docuseal
synced 2026-11-14 15:52:32 -05:00
adjust field focus
This commit is contained in:
1 parent
b7b62c197a
commit
f84674cddd
2 files changed
+6
-2
No files matched your search
@@ -345,7 +345,9 @@ export default {
|
|||||||
if (!this.isDrawInitials) {
|
if (!this.isDrawInitials) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.$refs.textInput) {
|
if (this.$refs.textInput) {
|
||||||
this.$refs.textInput.focus()
|
if (!this.submitter.name) {
|
||||||
|
this.$refs.textInput.focus()
|
||||||
|
}
|
||||||
|
|
||||||
this.initTextInitial()
|
this.initTextInitial()
|
||||||
|
|
||||||
|
|||||||
@@ -674,7 +674,9 @@ export default {
|
|||||||
if (this.isTextSignature) {
|
if (this.isTextSignature) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.$refs.textInput) {
|
if (this.$refs.textInput) {
|
||||||
this.$refs.textInput.focus()
|
if (!this.submitter.name) {
|
||||||
|
this.$refs.textInput.focus()
|
||||||
|
}
|
||||||
|
|
||||||
this.initTypedSignature()
|
this.initTypedSignature()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user