From 8ce158d1a4bb5ad9340f57b7bd88df1ef110103a Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Wed, 2 Jun 2021 20:48:07 -0500 Subject: [PATCH] :bug: Fix error message on textarea field clicks --- packages/editor-ui/src/components/ParameterInput.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index ef970669386..7bf2e2f5f0a 100644 --- a/packages/editor-ui/src/components/ParameterInput.vue +++ b/packages/editor-ui/src/components/ParameterInput.vue @@ -533,7 +533,7 @@ export default mixins( // @ts-ignore if (this.$refs.inputField.$el) { // @ts-ignore - (this.$refs.inputField.$el.querySelector('input') as HTMLInputElement).focus(); + (this.$refs.inputField.$el.querySelector(this.getStringInputType === 'textarea' ? 'textarea' : 'input') as HTMLInputElement).focus(); } }); },