Merge pull request #5292 from GogoVega/fix-5289

Fix env autocomplete result if searchKey starts with `${`
This commit is contained in:
Nick O'Leary
2025-10-09 11:25:59 +01:00
committed by GitHub

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
});