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
- Ngôn ngữ chính
- TypeScript
- Star
- 25k
- Fork
- 6.8k
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 91
Mô tả
### 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):
Hướng dẫn đóng góp
Hướng nghiên cứu
Mở ví dụ «Form Field prefix/suffix» tại URL Angular Material được liên kết và tái hiện hành vi của trường mật khẩu trong khi nhập với biểu tượng được che. Theo dõi điều khiển mật khẩu suffix của ví dụ và xác minh rằng hành vi hoàn chỉnh chỉ hiển thị biểu tượng che được mong muốn, không có biểu tượng con mắt bổ sung.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, typescript
- Lĩnh vực
- frontend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100