mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 16:57:08 +02:00
fix(editor): Fix rlc input selection issue when not in list mode (#20004)
This commit is contained in:
parent
6433ff12da
commit
c6443c39da
|
|
@ -620,6 +620,12 @@ function onInputChange(value: INodeParameterResourceLocator['value']): void {
|
|||
emit('update:modelValue', params);
|
||||
}
|
||||
|
||||
function onInputMouseDown(event: MouseEvent): void {
|
||||
if (isListMode.value) {
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
function onModeSelected(value: string): void {
|
||||
if (typeof props.modelValue !== 'object') {
|
||||
emit('update:modelValue', { __rl: true, value: props.modelValue, mode: value });
|
||||
|
|
@ -1094,7 +1100,7 @@ function removeOverride() {
|
|||
@update:model-value="onInputChange"
|
||||
@focus="onInputFocus"
|
||||
@blur="onInputBlur"
|
||||
@mousedown.prevent
|
||||
@mousedown="onInputMouseDown"
|
||||
>
|
||||
<template v-if="isListMode" #suffix>
|
||||
<i
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user