-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(MatChipHarness): Chip Text contains "cancel" #20503
Comments
Excludes the text of icons from the result of the `getText` method. Fixes angular#20503.
Thanks for the quick fix. Took a look at the code and one thing is missing IMHO: exclusion of |
Another aspect of this issue discovered today - |
Excludes the text of icons from the result of the `getText` method. Fixes angular#20503.
Excludes the text of icons from the result of the `getText` method. Fixes #20503.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Excludes the text of icons from the result of the `getText` method. Fixes angular#20503.
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue
Steps to reproduce:
Expected Behavior
What behavior were you expecting to see?
Text of chip includes only the label, e.g. "Lemon".
Actual Behavior
What behavior did you actually see?
Text of chip includes "cancel" text from within the mat-icon as well, e.g. "Lemoncancel".
Environment
The text was updated successfully, but these errors were encountered: