angular / angular/components

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

Offen
#26,321 5 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
P3
Vorherrschende Sprache
TypeScript
Sterne
25k
Forks
6.8k
Ø Merge
1 T. 8 Std.
Gemergte PRs (30 T.)
91

Beschreibung

### Is this a regression?

- [X] 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](https://user-images.githubusercontent.com/98823520/209349656-0b0599c8-74dc-465c-b203-82a7b860060f.png)

### Environment

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Öffne das Beispiel „Form Field prefix/suffix“ unter der verlinkten Angular Material-URL und reproduziere das Verhalten des Passwortfelds während der Eingabe bei maskiertem Icon. Verfolge die Suffix-Passwortsteuerung des Beispiels und überprüfe, dass das abgeschlossene Verhalten nur das beabsichtigte Maskierungssymbol ohne ein zusätzliches Augensymbol zeigt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.