🐛 Fix error message on textarea field clicks

This commit is contained in:
Jan Oberhauser 2021-06-02 20:48:07 -05:00
parent bef0b13898
commit 8ce158d1a4

View file

@ -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();
}
});
},