refactor(editor): migrate FormInput to Composition API (#4406)

♻️ Refactor N8nFormInput to use composition API and make labels accesible
This commit is contained in:
OlegIvaniv
2022-10-24 09:39:22 +02:00
committed by GitHub
parent a40deef518
commit 8a4b9722c5
5 changed files with 170 additions and 199 deletions

View File

@@ -6,6 +6,7 @@
:autoComplete="autocomplete"
ref="innerInput"
v-on="$listeners"
:name="name"
>
<template #prepend>
<slot name="prepend" />
@@ -66,6 +67,9 @@ export default Vue.extend({
title: {
type: String,
},
name: {
type: String,
},
autocomplete: {
type: String,
default: 'off',