Skip to content

Commit

Permalink
mask aadhaar input in create and login in abdm
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed Sep 19, 2024
1 parent 1eeb69d commit 96ce08a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Components/ABDM/LinkAbhaNumber/CreateWithAadhaar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ function EnterAadhaar({ memory, setMemory, next }: IEnterAadhaarProps) {
<div>
<div className="flex flex-col justify-center">
<TextFormField
type="password"
name="aadhaar-number"
label={t("aadhaar_number")}
minLength={12}
Expand Down Expand Up @@ -302,6 +303,7 @@ function VerifyAadhaar({ memory, setMemory, next }: IVerifyAadhaarProps) {
<div>
<div className="flex flex-col justify-center">
<TextFormField
type="password"
name="aadhaar-number"
label={t("aadhaar_number")}
min={12}
Expand Down
2 changes: 2 additions & 0 deletions src/Components/ABDM/LinkAbhaNumber/LinkWithOtp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ function EnterId({ memory, setMemory, next }: IEnterIdProps) {
<div>
<div className="flex flex-col justify-center">
<TextFormField
type="password"
name="id"
label={t("any_id")}
inputClassName="text-black tracking-[0.3em] font-bold placeholder:font-normal placeholder:tracking-normal"
Expand Down Expand Up @@ -279,6 +280,7 @@ function VerifyId({ memory, setMemory, onSuccess }: IVerifyIdProps) {
<div>
<div className="flex flex-col justify-center">
<TextFormField
type="password"
name="id"
label={t("any_id")}
inputClassName="text-black tracking-[0.3em] font-bold placeholder:font-normal placeholder:tracking-normal"
Expand Down

0 comments on commit 96ce08a

Please sign in to comment.