-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WEB-2211] fix: input autoComplete (#5333)
* fix: input autoComplete * chore: code refactor * chore: set autoComplete on for email, password and name
- Loading branch information
1 parent
0b72bd3
commit 24b1e71
Showing
14 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,6 +127,7 @@ export const InstanceSignInForm: FC = (props) => { | |
placeholder="[email protected]" | ||
value={formData.email} | ||
onChange={(e) => handleFormChange("email", e.target.value)} | ||
autoComplete="on" | ||
autoFocus | ||
/> | ||
</div> | ||
|
@@ -145,6 +146,7 @@ export const InstanceSignInForm: FC = (props) => { | |
placeholder="Enter your password" | ||
value={formData.password} | ||
onChange={(e) => handleFormChange("password", e.target.value)} | ||
autoComplete="on" | ||
/> | ||
{showPassword ? ( | ||
<button | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,6 +154,7 @@ export default function ForgotPasswordPage() { | |
hasError={Boolean(errors.email)} | ||
placeholder="[email protected]" | ||
className="h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400" | ||
autoComplete="on" | ||
disabled={resendTimerCode > 0} | ||
/> | ||
)} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,6 +153,7 @@ export default function ResetPasswordPage() { | |
//hasError={Boolean(errors.email)} | ||
placeholder="[email protected]" | ||
className="h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 text-onboarding-text-400 cursor-not-allowed" | ||
autoComplete="on" | ||
disabled | ||
/> | ||
</div> | ||
|
@@ -173,6 +174,7 @@ export default function ResetPasswordPage() { | |
minLength={8} | ||
onFocus={() => setIsPasswordInputFocused(true)} | ||
onBlur={() => setIsPasswordInputFocused(false)} | ||
autoComplete="on" | ||
autoFocus | ||
/> | ||
{showPassword.password ? ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -147,6 +147,7 @@ const SetPasswordPage = observer(() => { | |
//hasError={Boolean(errors.email)} | ||
placeholder="[email protected]" | ||
className="h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 text-onboarding-text-400 cursor-not-allowed" | ||
autoComplete="on" | ||
disabled | ||
/> | ||
</div> | ||
|
@@ -167,6 +168,7 @@ const SetPasswordPage = observer(() => { | |
minLength={8} | ||
onFocus={() => setIsPasswordInputFocused(true)} | ||
onBlur={() => setIsPasswordInputFocused(false)} | ||
autoComplete="on" | ||
autoFocus | ||
/> | ||
{showPassword.password ? ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => { | |
onChange={(e) => handleFormChange("email", e.target.value)} | ||
placeholder="[email protected]" | ||
className={`disable-autofill-style h-[46px] w-full placeholder:text-onboarding-text-400 border-0`} | ||
autoComplete="on" | ||
disabled | ||
/> | ||
{uniqueCodeFormData.email.length > 0 && ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters