mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
🐛 Fix error message on textarea field clicks
This commit is contained in:
parent
bef0b13898
commit
8ce158d1a4
|
@ -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();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue