Fix env autocomplete result if searchKey starts with ${

This commit is contained in:
GogoVega
2025-10-08 14:41:20 +02:00
parent 0c92332033
commit 90d5776f79

View File

@@ -179,7 +179,7 @@
optEl.appendTo(element);
}
matches.push({
value: isSubkey ? val + v + '}' : v,
value: isSubkey ? val.substring(0, i + 2) + v + '}' : v,
label: element,
i: valMatch.index
});