You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dont understand that , what is a stream, how to implement this ?
What is the current behavior?
Iam able to have MdAutocompleteTrigger In my component i add : @ViewChild(MdAutocompleteTrigger) trigger:MdAutocompleteTrigger; ngAfterContentInit() { setTimeout(() =>this.trigger.openPanel()); } but i cannot use optionSelections, can someone can give me an example
I try this ngAfterContentInit() { setTimeout(() => Observable.merge(...this.trigger.optionSelections) .subscribe((option)=>console.log(option))); } but not working
@kara The sample you provided only fires the option selected "event" once. If you change the text and select another option the new option event is not fired. Any ideas?
Another option is to use the option onSelect #3576
Activity
kara commentedon Feb 24, 2017
Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.
Here is a plunker example though: https://plnkr.co/edit/AaBESvqvT40htQPlAp0b?p=preview. In the next release, you shouldn't have to merge the selection events yourself, see #3212
ambarkiy commentedon Feb 24, 2017
Thank you sorry
ktersius commentedon Mar 29, 2017
@kara The sample you provided only fires the option selected "event" once. If you change the text and select another option the new option event is not fired. Any ideas?
Another option is to use the option onSelect #3576
ambarkiy commentedon Mar 29, 2017
thank you 're write
angular-automatic-lock-bot commentedon Sep 5, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.