From ce9648fb9d9d73bbfaaa9be7ff0ca26d56f78047 Mon Sep 17 00:00:00 2001 From: John Coburn Date: Mon, 11 Mar 2024 13:52:44 -0500 Subject: [PATCH] STCOR-742 Remove autoComplete attribute from 'forgot' fields. (#1437) * remove autoComplete attribute from 'forgot' fields * log changes --- CHANGELOG.md | 1 + src/components/ForgotPassword/ForgotPasswordForm.js | 1 - src/components/ForgotUserName/ForgotUserNameForm.js | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 394421566..86479e6a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ * Correctly parse `.../_self` permissions object. Refs STCOR-813. * Add `idName` and `limit` as passable props to `useChunkedCQLFetch`. Refs STCOR-821. * Check for valid token before rotating during XHR send. Refs STCOR-817. +* Remove `autoComplete` from ``, `` fields. Refs STCOR-742. ## [10.0.0](https://github.com/folio-org/stripes-core/tree/v10.0.0) (2023-10-11) [Full Changelog](https://github.com/folio-org/stripes-core/compare/v9.0.0...v10.0.0) diff --git a/src/components/ForgotPassword/ForgotPasswordForm.js b/src/components/ForgotPassword/ForgotPasswordForm.js index c31a96581..130f24348 100644 --- a/src/components/ForgotPassword/ForgotPasswordForm.js +++ b/src/components/ForgotPassword/ForgotPasswordForm.js @@ -75,7 +75,6 @@ class ForgotPasswordForm extends Component { inputClass={formStyles.input} validationEnabled={false} hasClearIcon={false} - autoComplete="on" autoCapitalize="none" autoFocus placeholder={formatMessage({ id: 'stripes-core.placeholder.forgotPassword' })} diff --git a/src/components/ForgotUserName/ForgotUserNameForm.js b/src/components/ForgotUserName/ForgotUserNameForm.js index 8147dcf4f..a3629a200 100644 --- a/src/components/ForgotUserName/ForgotUserNameForm.js +++ b/src/components/ForgotUserName/ForgotUserNameForm.js @@ -78,7 +78,6 @@ class ForgotUserNameForm extends Component { inputClass={formStyles.input} validationEnabled={false} hasClearIcon={false} - autoComplete="on" autoCapitalize="none" autoFocus placeholder={formatMessage({ id: 'stripes-core.placeholder.forgotUsername' })}