Skip to content

🎥 Make videos programmatically with React

Revert id change, use type="search" instead

pullfrog[bot]58587e5eb177
diff --git a/packages/template-next-app-tailwind/src/components/Input.tsx b/packages/template-next-app-tailwind/src/components/Input.tsx
index 345f99bcbd..af468fc2d0 100644
--- a/packages/template-next-app-tailwind/src/components/Input.tsx
+++ b/packages/template-next-app-tailwind/src/components/Input.tsx
@@ -14,8 +14,7 @@ export const Input: React.FC<{
return (
<input
- id="username"
- type="text"
+ type="search"
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}
diff --git a/packages/template-next-app/src/components/Input.tsx b/packages/template-next-app/src/components/Input.tsx
index 887a533fe0..8dc0661480 100644
--- a/packages/template-next-app/src/components/Input.tsx
+++ b/packages/template-next-app/src/components/Input.tsx
@@ -26,8 +26,7 @@ export const Input: React.FC<{
return (
<input
- id="username"
- type="text"
+ type="search"
autoComplete="off"
disabled={disabled}
name="title"
diff --git a/packages/template-next-pages/src/components/Input.tsx b/packages/template-next-pages/src/components/Input.tsx
index 887a533fe0..8dc0661480 100644
--- a/packages/template-next-pages/src/components/Input.tsx
+++ b/packages/template-next-pages/src/components/Input.tsx
@@ -26,8 +26,7 @@ export const Input: React.FC<{
return (
<input
- id="username"
- type="text"
+ type="search"
autoComplete="off"
disabled={disabled}
name="title"
diff --git a/packages/template-react-router/app/components/Input.tsx b/packages/template-react-router/app/components/Input.tsx
index 345f99bcbd..af468fc2d0 100644
--- a/packages/template-react-router/app/components/Input.tsx
+++ b/packages/template-react-router/app/components/Input.tsx
@@ -14,8 +14,7 @@ export const Input: React.FC<{
return (
<input
- id="username"
- type="text"
+ type="search"
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}
diff --git a/packages/template-vercel/src/components/Input.tsx b/packages/template-vercel/src/components/Input.tsx
index d91f663ccd..1cc95d7aad 100644
--- a/packages/template-vercel/src/components/Input.tsx
+++ b/packages/template-vercel/src/components/Input.tsx
@@ -22,7 +22,7 @@ export const Input: React.FC<{
</label>
<input
id="video-text"
- type="text"
+ type="search"
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}