-
Notifications
You must be signed in to change notification settings - Fork 6.8k
autocomplete "(onItemSelected)"="do($event)" #3576
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
Comments
md-option has onClose, it can be used as workaround |
|
@chouclee Yes, i've used |
As a note, the api changes from |
Guys onSelect method not exists. |
I used onSelectionChange instead of onSelect. <md-option (onSelectionChange)="test($item)" *ngFor="let option of filteredTrain | async" test(item){ But I only see undefined in console. Is there anything wrong here? |
@rupinr |
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. |
Bug, feature request, or proposal:
feature request
What is the expected behavior?
@output() event on item selected
What is the current behavior?
not @output() event on item selected
What is the use-case or motivation for changing an existing behavior?
I'm currently using
breeze
client, that allows to update property fromngModel
only.In this case one way to update property to listen if autocomplete item selected
Which versions of Angular, Material, OS, browsers are affected?
"@angular": "~2.4.3",
"@angular/material": "^2.0.0-beta.2",
The text was updated successfully, but these errors were encountered: