Skip to content

Commit 728dba2

Browse files
CharlieKolbivov
authored andcommitted
fix(editor): Don't reset all Parameter Inputs when switched to read-only (#12063)
1 parent 3ca8521 commit 728dba2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/editor-ui/src/components/ParameterInputFull.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ function onDrop(newParamValue: string) {
194194
watch(
195195
() => props.isReadOnly,
196196
(isReadOnly) => {
197-
if (isReadOnly) {
197+
// Patch fix, see https://linear.app/n8n/issue/ADO-2974/resource-mapper-values-are-emptied-when-refreshing-the-columns
198+
if (isReadOnly && props.parameter.disabledOptions !== undefined) {
198199
valueChanged({ name: props.path, value: props.parameter.default });
199200
}
200201
},

0 commit comments

Comments
 (0)