🎥 Make videos programmatically with React
fix: Add id, type, and autoComplete props to Next.js template inputs
Jonny Burger072b32633887
diff --git a/packages/template-next-app-tailwind/src/components/Input.tsx b/packages/template-next-app-tailwind/src/components/Input.tsxindex d6dcc0434d..345f99bcbd 100644--- a/packages/template-next-app-tailwind/src/components/Input.tsx+++ b/packages/template-next-app-tailwind/src/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"diff --git a/packages/template-next-app/src/components/Input.tsx b/packages/template-next-app/src/components/Input.tsxindex 40b32dd470..887a533fe0 100644--- a/packages/template-next-app/src/components/Input.tsx+++ b/packages/template-next-app/src/components/Input.tsx@@ -26,6 +26,9 @@ export const Input: React.FC<{return (<input+ id="username"+ type="text"+ autoComplete="off"disabled={disabled}name="title"style={textarea}diff --git a/packages/template-next-pages/src/components/Input.tsx b/packages/template-next-pages/src/components/Input.tsxindex 40b32dd470..887a533fe0 100644--- a/packages/template-next-pages/src/components/Input.tsx+++ b/packages/template-next-pages/src/components/Input.tsx@@ -26,6 +26,9 @@ export const Input: React.FC<{return (<input+ id="username"+ type="text"+ autoComplete="off"disabled={disabled}name="title"style={textarea}