feat(input): Add autoComplete="off" to InputGroup and Textarea components for improved form security

This commit is contained in:
AmirReza Jamali
2026-04-13 09:16:14 +03:30
parent 8518c2c140
commit 2229ffcd7a
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ function InputGroup({
<div> <div>
<div className="relative w-full my-3"> <div className="relative w-full my-3">
<input <input
autoComplete="off"
type={type} type={type}
className={`border ${ className={`border ${
error error
+1
View File
@@ -29,6 +29,7 @@ function TextareaGroup({
<div> <div>
<div className="relative w-full my-3"> <div className="relative w-full my-3">
<textarea <textarea
autoComplete="off"
className={`border ${ className={`border ${
error error
? "border-red-500" ? "border-red-500"