Skip to content

bug(material/Form Field Suffix): In Form Field suffix password input field example an extra eye icon is displayed along with the existing masking icon #26321

@ArvindWip

Description

@ArvindWip

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

This issue is seen in mat form field suffix password control example. When icon is masked and when we start typing in the password, we are seeing an extra eye icon before the masking icon.

Example link: https://material.angular.io/components/form-field/overview#form-field-prefix-suffix

Reproduction

Steps to reproduce:

  1. Go the example https://material.angular.io/components/form-field/overview#form-field-prefix-suffix
  2. Try typing the password without unmasking the icon an extra eye icon will be displayed. If not see try clicking outside the input field and type again.
    Uploading FormFieldSuffixPasswordControlexample.PNG…

Expected Behavior

It should not display that extra icon.

Actual Behavior

When typing in the password with icon masked an extra icon is displayed.

image

Environment

  • Angular:
  • CDK/Material:
  • Browser(s):
  • Operating System (e.g. Windows, macOS, Ubuntu):

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions