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

Abierto
#26,321 5 comentarios 1 reacción 0 asignados Ver en GitHub
P3
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

### 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):

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Abre el ejemplo «Form Field prefix/suffix» en la URL enlazada de Angular Material y reproduce el comportamiento del campo de contraseña mientras escribes con el icono oculto. Sigue el control de contraseña del sufijo del ejemplo y verifica que el comportamiento completado muestre solo el icono de ocultación previsto, sin un icono de ojo adicional.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
frontend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.