mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
🐛 Fix issue that TextEdit did not work anymore
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user