Skip to content

🎥 Make videos programmatically with React

fix: Add id, type, and autoComplete props to template-react-router input

Jonny Burger8c50ebd457c7
diff --git a/packages/template-react-router/app/components/Input.tsx b/packages/template-react-router/app/components/Input.tsx
index d6dcc0434d..345f99bcbd 100644
--- a/packages/template-react-router/app/components/Input.tsx
+++ b/packages/template-react-router/app/components/Input.tsx
@@ -14,6 +14,9 @@ export const Input: React.FC<{
return (
<input
+ id="username"
+ type="text"
+ autoComplete="off"
className="leading-[1.7] block w-full rounded-geist bg-background p-geist-half text-foreground text-sm border border-unfocused-border-color transition-colors duration-150 ease-in-out focus:border-focused-border-color outline-none"
disabled={disabled}
name="title"