mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Making parameter input components label configurable (#5195)
fix(editor): Making parameter input component label configurable
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
:showTooltip="focused"
|
||||
:showOptions="menuExpanded"
|
||||
:data-test-id="parameter.name"
|
||||
:size="label.size"
|
||||
>
|
||||
<template #options>
|
||||
<parameter-options
|
||||
@@ -60,7 +61,7 @@ import ParameterOptions from './ParameterOptions.vue';
|
||||
import Vue, { PropType } from 'vue';
|
||||
import ParameterInputWrapper from './ParameterInputWrapper.vue';
|
||||
import { isValueExpression } from '@/utils';
|
||||
import { INodeParameterResourceLocator, INodeProperties } from 'n8n-workflow';
|
||||
import { INodeParameterResourceLocator, INodeProperties, IParameterLabel } from 'n8n-workflow';
|
||||
import { mapStores } from 'pinia';
|
||||
import { useWorkflowsStore } from '@/stores/workflows';
|
||||
|
||||
@@ -84,6 +85,12 @@ export default Vue.extend({
|
||||
eventSource: {
|
||||
type: String,
|
||||
},
|
||||
label: {
|
||||
type: Object as PropType<IParameterLabel>,
|
||||
default: () => ({
|
||||
size: 'small',
|
||||
}),
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user