mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
🐛 Fix issue that TextEdit did not work anymore
This commit is contained in:
parent
c8b4bc9304
commit
d59e005436
|
@ -7,7 +7,7 @@
|
|||
{{parameter.displayName}}:
|
||||
</div>
|
||||
<div class="text-editor" @keydown.stop @keydown.esc="closeDialog()">
|
||||
<el-input type="textarea" ref="inputField" :value="value" :placeholder="parameter.placeholder" @change="valueChanged" @keydown.stop="noOp" rows="15" />
|
||||
<el-input v-model="tempValue" type="textarea" ref="inputField" :value="value" :placeholder="parameter.placeholder" @change="valueChanged" @keydown.stop="noOp" rows="15" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -32,6 +32,7 @@ export default Vue.extend({
|
|||
],
|
||||
data () {
|
||||
return {
|
||||
tempValue: '', // el-input does not seem to work without v-model so add one
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
@ -54,6 +55,9 @@ export default Vue.extend({
|
|||
});
|
||||
}
|
||||
},
|
||||
value () {
|
||||
this.tempValue = this.value as string;
|
||||
},
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue