Skip to content

Commit

Permalink
🐛 Fix error message on textarea field clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
janober committed Jun 3, 2021
1 parent bef0b13 commit 8ce158d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/components/ParameterInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
});
},
Expand Down

0 comments on commit 8ce158d

Please sign in to comment.