From 8af7100a7fe5d92f7e13fafe5f94cf238b1c090f Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Thu, 8 Feb 2024 14:49:36 -0800 Subject: [PATCH] In vue 3, we no longer need .$el --- app/javascript/components/travelEstimateForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/components/travelEstimateForm.vue b/app/javascript/components/travelEstimateForm.vue index 85487a6c..8293fb98 100644 --- a/app/javascript/components/travelEstimateForm.vue +++ b/app/javascript/components/travelEstimateForm.vue @@ -239,7 +239,7 @@ export default { }); this.$nextTick(() => { const index = this.expenseData.length - 1; - const input = this.$refs.expense_type[index].$el; + const input = this.$refs.expense_type[index]; if (typeof input.children[1] !== 'undefined'){ input.children[1].focus(); }