fix(editor): Fix '=' handling in expressions (#13129)

This commit is contained in:
Elias Meire
2025-02-10 16:41:55 +01:00
committed by GitHub
parent f057cfb46a
commit 8f25a06e6c
15 changed files with 200 additions and 207 deletions

View File

@@ -1067,11 +1067,11 @@ watch(remoteParameterOptionsLoading, () => {
tempValue.value = displayValue.value as string;
});
// Focus input field when changing from fixed value to expression
// Focus input field when changing between fixed and expression
watch(isModelValueExpression, async (isExpression, wasExpression) => {
if (!props.isReadOnly && isExpression && !wasExpression) {
if (!props.isReadOnly && isExpression !== wasExpression) {
await nextTick();
inputField.value?.focus();
await setFocus();
}
});