components icon indicating copy to clipboard operation
components copied to clipboard

feat(checkbox) Custom icon for checked state

Open MaxMaes opened this issue 9 years ago • 3 comments

Bug, feature request, or proposal:

Feature Request

What is the expected behavior?

Please allow choosing a icon to be used in md-checkbox. Perhaps this is possible by utilizing MdIcon?

What is the current behavior?

SVG is hardcoded and to change it, we need to extend MdCheckbox and copy over a lot of code.

What is the use-case or motivation for changing an existing behavior?

In my project, I need to show a couple of different icons in a checkbox, depening on the associated action: image

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

beta-5

Is there anything else we should know?

MaxMaes avatar May 24 '17 12:05 MaxMaes

This svg is part of the material design spec: https://material.io/guidelines/components/selection-controls.html#selection-controls-checkbox

tinayuangao avatar Jun 02 '17 20:06 tinayuangao

Closing this since we have no plans to support customizing the checkbox icon.

jelbourn avatar Apr 28 '20 17:04 jelbourn

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.