Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(CreateLLMApiKeyForm): replace Input with PasswordInput for improved UX (#7359)

marliessophied6941f903b52
diff --git a/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx b/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx
index c88157df18..425b5c5df8 100644
--- a/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx
+++ b/web/src/features/public-api/components/CreateLLMApiKeyForm.tsx
@@ -19,6 +19,7 @@ import {
FormMessage,
} from "@/src/components/ui/form";
import { Input } from "@/src/components/ui/input";
+import { PasswordInput } from "@/src/components/ui/password-input";
import {
Select,
SelectContent,
@@ -433,7 +434,7 @@ export function CreateLLMApiKeyForm({
<FormItem>
<FormLabel>AWS Secret Access Key</FormLabel>
<FormControl>
- <Input {...field} type="password" />
+ <PasswordInput {...field} />
</FormControl>
<FormMessage />
</FormItem>
@@ -474,7 +475,7 @@ export function CreateLLMApiKeyForm({
</FormDescription>
)}
<FormControl>
- <Input
+ <PasswordInput
{...field}
placeholder={
mode === "update"