Merge pull request 'Password Field UI Not Proper – White Background Not Covering Full Field' (#386) from Kartik_Bug#1015 into Issues_Sep_1W_V2
Reviewed-on: #386 Merged
This commit is contained in:
commit
2790f50275
@ -106,7 +106,7 @@ const LoginPage = () => {
|
|||||||
{/* Password */}
|
{/* Password */}
|
||||||
{!IsLoginWithOTP && (
|
{!IsLoginWithOTP && (
|
||||||
<>
|
<>
|
||||||
<div className="mb-3 text-start">
|
{/* <div className="mb-3 text-start">
|
||||||
<label htmlFor="password" className="form-label">
|
<label htmlFor="password" className="form-label">
|
||||||
Password
|
Password
|
||||||
</label>
|
</label>
|
||||||
@ -134,6 +134,38 @@ const LoginPage = () => {
|
|||||||
{errors.password.message}
|
{errors.password.message}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
</div> */}
|
||||||
|
|
||||||
|
<div className="mb-3 form-password-toggle text-start">
|
||||||
|
<label htmlFor="password" className="form-label">
|
||||||
|
Password
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div className="input-group input-group-merge">
|
||||||
|
<input
|
||||||
|
type={hidepass ? "password" : "text"}
|
||||||
|
autoComplete="new-password"
|
||||||
|
id="password"
|
||||||
|
className="form-control form-control-xl shadow-none"
|
||||||
|
name="password"
|
||||||
|
{...register("password")}
|
||||||
|
placeholder="••••••••••••"
|
||||||
|
aria-describedby="password"
|
||||||
|
/>
|
||||||
|
<span className="input-group-text cursor-pointer border-start-0">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
className="btn btn-link p-0"
|
||||||
|
onClick={() => setHidepass(!hidepass)}
|
||||||
|
>
|
||||||
|
{hidepass ? (
|
||||||
|
<i className="bx bx-hide fs-5" />
|
||||||
|
) : (
|
||||||
|
<i className="bx bx-show fs-5" />
|
||||||
|
)}
|
||||||
|
</button>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Remember Me + Forgot Password */}
|
{/* Remember Me + Forgot Password */}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user