angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.37k stars 6.75k forks source link

Only button toggle is supported but not Icon toggle according to the specs #6475

Open richardsengers opened 7 years ago

richardsengers commented 7 years ago

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 ;-)

angular-robot[bot] commented 2 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.

angular-robot[bot] commented 2 years ago

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.