Merge pull request #730 from mirumee/fix/disable-autocomplete-in-email-field
add autocomplete off to email field in site settings
This commit is contained in:
commit
4da205bb24
2 changed files with 8 additions and 3 deletions
|
@ -114,6 +114,8 @@ const SiteSettingsMailing: React.FC<SiteSettingsMailingProps> = props => {
|
|||
disabled={disabled}
|
||||
error={!!formErrors.customerSetPasswordUrl}
|
||||
fullWidth
|
||||
autoComplete="off"
|
||||
type="url"
|
||||
name="customerSetPasswordUrl"
|
||||
label={intl.formatMessage({
|
||||
defaultMessage: "Customer password reset URL"
|
||||
|
|
|
@ -176612,10 +176612,11 @@ exports[`Storyshots Views / Site settings / Page default 1`] = `
|
|||
>
|
||||
<input
|
||||
aria-invalid="false"
|
||||
autocomplete="off"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||
name="customerSetPasswordUrl"
|
||||
placeholder="URL address"
|
||||
type="text"
|
||||
type="url"
|
||||
value="https://example.com/reset-password"
|
||||
/>
|
||||
<fieldset
|
||||
|
@ -177487,10 +177488,11 @@ exports[`Storyshots Views / Site settings / Page form errors 1`] = `
|
|||
>
|
||||
<input
|
||||
aria-invalid="true"
|
||||
autocomplete="off"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id"
|
||||
name="customerSetPasswordUrl"
|
||||
placeholder="URL address"
|
||||
type="text"
|
||||
type="url"
|
||||
value="https://example.com/reset-password"
|
||||
/>
|
||||
<fieldset
|
||||
|
@ -178357,11 +178359,12 @@ exports[`Storyshots Views / Site settings / Page loading 1`] = `
|
|||
>
|
||||
<input
|
||||
aria-invalid="false"
|
||||
autocomplete="off"
|
||||
class="MuiInputBase-input-id MuiOutlinedInput-input-id MuiInputBase-disabled-id MuiOutlinedInput-disabled-id"
|
||||
disabled=""
|
||||
name="customerSetPasswordUrl"
|
||||
placeholder="URL address"
|
||||
type="text"
|
||||
type="url"
|
||||
value=""
|
||||
/>
|
||||
<fieldset
|
||||
|
|
Loading…
Reference in a new issue