From ef6f752642141f20b5495f726275f6367e72474a Mon Sep 17 00:00:00 2001 From: mubbsharanwar Date: Fri, 26 Mar 2021 21:30:56 +0500 Subject: [PATCH] autocomplete form input VAN-383 --- .../AuthnValidationFormGroup.jsx | 1 + .../ForgotPasswordPage.test.jsx.snap | 3 +++ .../__snapshots__/LoginPage.test.jsx.snap | 10 ++++++++++ .../RegistrationPage.test.jsx.snap | 18 ++++++++++++++++++ .../ResetPasswordPage.test.jsx.snap | 8 ++++++++ 5 files changed, 40 insertions(+) diff --git a/src/common-components/AuthnValidationFormGroup.jsx b/src/common-components/AuthnValidationFormGroup.jsx index 97f9c4ae..9f2feb33 100644 --- a/src/common-components/AuthnValidationFormGroup.jsx +++ b/src/common-components/AuthnValidationFormGroup.jsx @@ -63,6 +63,7 @@ const AuthnCustomValidationFormGroup = (props) => { value: props.value, className: props.inputFieldStyle, 'aria-invalid': props.ariaInvalid, + autoComplete: 'on', }; inputProps.onChange = (e) => onChangeHandler(e, onChange); inputProps.onClick = (e) => onClickHandler(e, onClick); diff --git a/src/forgot-password/tests/__snapshots__/ForgotPasswordPage.test.jsx.snap b/src/forgot-password/tests/__snapshots__/ForgotPasswordPage.test.jsx.snap index 05844318..95bc2a2f 100644 --- a/src/forgot-password/tests/__snapshots__/ForgotPasswordPage.test.jsx.snap +++ b/src/forgot-password/tests/__snapshots__/ForgotPasswordPage.test.jsx.snap @@ -32,6 +32,7 @@ exports[`ForgotPasswordPage should match default section snapshot 1`] = `