Open richardsengers opened 7 years ago
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
Bug, feature request, or proposal:
Feature request / Bug
What is the expected behavior?
Icon toggle with same behaviour as button-toggle according to the Specs https://material.io/guidelines/components/buttons.html#buttons-toggle-buttons
What is the current behavior?
You can only set a button toggle and not an icon toggle
What is the use-case or motivation for changing an existing behavior?
According to the specs an Icon toggle is part of the material design
Is there anything else we should know?
To me it looks like material2 is currently only supporting Button toggles, but no Icon toggles. An example can be found here: http://mseemann.io/angular2-mdl/toggle and is as simple as
<mdl-icon-toggle [(ngModel)]="checkbox1">format_bold</mdl-icon-toggle>
If this is already possible with material2 I would really like to know how ;-)