adjust field focus

This commit is contained in:
Pete Matsyburka
2026-02-04 17:05:12 +02:00
parent b7b62c197a
commit f84674cddd
2 changed files with 6 additions and 2 deletions
@@ -345,7 +345,9 @@ export default {
if (!this.isDrawInitials) {
this.$nextTick(() => {
if (this.$refs.textInput) {
this.$refs.textInput.focus()
if (!this.submitter.name) {
this.$refs.textInput.focus()
}
this.initTextInitial()
@@ -674,7 +674,9 @@ export default {
if (this.isTextSignature) {
this.$nextTick(() => {
if (this.$refs.textInput) {
this.$refs.textInput.focus()
if (!this.submitter.name) {
this.$refs.textInput.focus()
}
this.initTypedSignature()