From f03b46350ff87f618ffc988db71238b6bc7c8848 Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Mon, 22 May 2023 16:01:18 -0400 Subject: [PATCH] missing mounted() to assign inputId and put focus on zip field --- src/digital-components/textbox-question/textbox-question.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/digital-components/textbox-question/textbox-question.vue b/src/digital-components/textbox-question/textbox-question.vue index f4b2554a..774d0025 100644 --- a/src/digital-components/textbox-question/textbox-question.vue +++ b/src/digital-components/textbox-question/textbox-question.vue @@ -183,6 +183,9 @@ export default { }, }, }, + mounted() { + this.$emit("textboxQuestionEvent.inputIdAssigned", this.inputId); + }, watch: { async value(newValue) { const result = await validate(newValue, this.validationRules); // do a test validation check, without triggering full validation