-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed

Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
on matInput when you press enter (keyup.enter)="myFunction()
, it should NOT calls click method on matPrefix
What is the current behavior?
method (keyup.enter)="myFunction()
on matInput first calling method on matPrefix, then method on input.
What are the steps to reproduce?
- Try to type anything, then press enter
- See console (first calls click method on matPrefix, then on matInput)
https://stackblitz.com/edit/angular-wxpesf?file=app%2Finput-prefix-suffix-example.ts
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 6.0.0, all Browsers
Metadata
Metadata
Assignees
Labels
No labels