mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
⚡ Add first fixed collection option automatically
This commit is contained in:
parent
4b3fc14e15
commit
3045c0de1e
|
@ -79,6 +79,11 @@ export default mixins(genericHelpers)
|
||||||
selectedOption: undefined,
|
selectedOption: undefined,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
this.$nextTick(function () {
|
||||||
|
this.optionSelected(this.parameter.options[0].name);
|
||||||
|
});
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
getPlaceholderText (): string {
|
getPlaceholderText (): string {
|
||||||
return this.parameter.placeholder ? this.parameter.placeholder : 'Choose Option To Add';
|
return this.parameter.placeholder ? this.parameter.placeholder : 'Choose Option To Add';
|
||||||
|
|
Loading…
Reference in a new issue