diff --git a/src/material/form-field/form-field-input.scss b/src/material/form-field/form-field-input.scss index 827f4e59caf8..3e7c3b026368 100644 --- a/src/material/form-field/form-field-input.scss +++ b/src/material/form-field/form-field-input.scss @@ -63,7 +63,8 @@ // same selector as the IE ones, otherwise Safari will ignore it. &::-webkit-contacts-auto-fill-button, &::-webkit-caps-lock-indicator, - &::-webkit-credentials-auto-fill-button { + // Preserve the autofill icon on password inputs since it includes some important functionality. + &:not([type='password'])::-webkit-credentials-auto-fill-button { visibility: hidden; }