Skip to content

Commit 618caf4

Browse files
committed
fix: prevent Qdrant URL field from auto-filling with default value
- Changed VSCodeTextField to use placeholder instead of default value - Users can now clear the field without it auto-filling - Maintains backward compatibility with existing configurations - All existing tests continue to pass
1 parent 8bb7ef0 commit 618caf4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webview-ui/src/components/settings/CodeIndexSettings.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@ export const CodeIndexSettings: React.FC<CodeIndexSettingsProps> = ({
425425
</div>
426426
<div>
427427
<VSCodeTextField
428-
value={codebaseIndexConfig.codebaseIndexQdrantUrl || "http://localhost:6333"}
428+
value={codebaseIndexConfig.codebaseIndexQdrantUrl || ""}
429+
placeholder="http://localhost:6333"
429430
onInput={(e: any) =>
430431
setCachedStateField("codebaseIndexConfig", {
431432
...codebaseIndexConfig,

0 commit comments

Comments
 (0)