adjust field focus

pull/402/merge
Pete Matsyburka 2 months ago
parent b7b62c197a
commit f84674cddd

@ -345,7 +345,9 @@ export default {
if (!this.isDrawInitials) { if (!this.isDrawInitials) {
this.$nextTick(() => { this.$nextTick(() => {
if (this.$refs.textInput) { if (this.$refs.textInput) {
if (!this.submitter.name) {
this.$refs.textInput.focus() 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) {
if (!this.submitter.name) {
this.$refs.textInput.focus() this.$refs.textInput.focus()
}
this.initTypedSignature() this.initTypedSignature()

Loading…
Cancel
Save