weird error in input field

cannot type in input field
const [linkInput, setLinkInput] = useState("");

<Input
className="mt-2 border-none placeholder:pl-6"
placeholder="Link to platform"
value={linkInput}
onChange={(e) => {
console.log(e);
setLinkInput(e.target.value);
}}
const [linkInput, setLinkInput] = useState("");

<Input
className="mt-2 border-none placeholder:pl-6"
placeholder="Link to platform"
value={linkInput}
onChange={(e) => {
console.log(e);
setLinkInput(e.target.value);
}}
cannot type in the input field
2 Replies
BootesVoid
BootesVoid12mo ago
Shadcn Input component?
aditya
aditya12mo ago
yup it works after i switch tabs
Want results from more Discord servers?
Add your server