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
{{ message }}
Repository navigation
Autocomplete optionSelections to return one observable rather than an array #3205
P5The team acknowledges the request but does not plan to address it, it remains open for discussionfeatureLabel used to distinguish feature request from other issues
It would be easier to consume optionSelections if it returned a single observable that streamed which option was selected rather than an array, or alternatively emitted a change event like mdSelect.
@sumpton you can query for it with @ViewChild(mdAutocompleteTrigger) which then gives you access to the option selections. We should probably do a separate change event at some point.
P5The team acknowledges the request but does not plan to address it, it remains open for discussionfeatureLabel used to distinguish feature request from other issues
Activity
crisbeto commentedon Feb 20, 2017
FWIW, you can still do
Observable.merge(...trigger.optionSelections)to subscribe to all of them at once.refactor(autocomplete): merge optionSelections into single observable
sumpton commentedon Feb 21, 2017
Material2 is great. Thank you.
Is there an example of how to use MdAutocompleteTrigger and optionSelections?
crisbeto commentedon Feb 21, 2017
@sumpton you can query for it with
@ViewChild(mdAutocompleteTrigger)which then gives you access to the option selections. We should probably do a separate change event at some point.refactor(autocomplete): merge optionSelections into single observable (…
sync from upstream (#1)
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.