From 338d9b79356b2cc0e66ca7b4591e5b47da25362d Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Tue, 24 Jan 2023 15:55:13 -0500 Subject: [PATCH] Added onShownCallback property and handler --- src/digital-components/modal/modal.vue | 5 ++++- .../service-zip-modal-question.vue | 12 +++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/digital-components/modal/modal.vue b/src/digital-components/modal/modal.vue index da1fc8c26..013a42168 100644 --- a/src/digital-components/modal/modal.vue +++ b/src/digital-components/modal/modal.vue @@ -2,7 +2,7 @@
{ + const input = this.$refs.zipInputTextQuestion.$refs.serviceZipCodeInput; + input.focus(); + }); + }, onModalOpen() { this.serviceZipCodeInput = this.serviceZip;