feat(input): Add autoComplete="off" to InputGroup and Textarea components for improved form security
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user