Why the template reference variable of the tag "md-button-toggle-group" is not an instance of MdButtonToggleGroup? #1281
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Template reference variable of the tag "md-button-toggle-group" is an instance of MdButtonToggleGroup.
What is the current behavior?
Template reference variable of the tag "md-button-toggle-group" is not an instance of MdButtonToggleGroup.
What are the steps to reproduce?
The cod in the "app.module.ts" file:
The code in the "mbutton-toggle.component.ts" file:
When click "Three", the Dom element is printed in the console;
What is the use-case or motivation for changing an existing behavior?
I want to get the selected items from the "MdButtonToggleGroup" instance;
Which versions of Angular, Material, OS, browsers are affected?
Angular 2 RC5
Material 2.0.0-alpha.7-4
Win 10
Fire fox 48.0.2
Is there anything else we should know?
No.
The text was updated successfully, but these errors were encountered: