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
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### 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.

### Environment
- Angular:
- CDK/Material:
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Apri l’esempio «Form Field prefix/suffix» all’URL di Angular Material indicata e riproduci il comportamento del campo password durante la digitazione con l’icona mascherata. Traccia il controllo password del suffix dell’esempio e verifica che il comportamento completato mostri solo l’icona di mascheramento prevista, senza un’icona a forma di occhio aggiuntiva.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100