mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
🐛 Fix issue that TextEdit did not work anymore
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
{{parameter.displayName}}:
|
{{parameter.displayName}}:
|
||||||
</div>
|
</div>
|
||||||
<div class="text-editor" @keydown.stop @keydown.esc="closeDialog()">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -32,6 +32,7 @@ export default Vue.extend({
|
|||||||
],
|
],
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
tempValue: '', // el-input does not seem to work without v-model so add one
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -54,6 +55,9 @@ export default Vue.extend({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
value () {
|
||||||
|
this.tempValue = this.value as string;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user