-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaround
Description
Feature request:
Allow a user to add md-button and md-icon-button on the Date Picker's toggle button:
<button mdSuffix [mdDatepickerToggle]="picker"></button>
What is the expected behavior?
A user should be able to apply material button properties to allow for hover-over and ripple on the calendar button.
What is the current behavior?
Applying both causes the app to crash. Excerpt of the error:
Unhandled Promise rejection: Template parse errors:
More than one component matched on this element.
Make sure that only one component's selector can match a given element.
Conflicting components: MdButton,MdDatepickerToggle
What are the steps to reproduce?
Ex:
<button md-button md-icon-button mdSuffix [mdDatepickerToggle]="picker"></button>
What is the use-case or motivation for changing an existing behavior?
Better usability. A user who notices a hover-over will feel more aware and inclined to use that button.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.0.2, Material 2.0.0-beta.5, Windows 7 & 10, TypeScript 2.2.2, Chrome
Metadata
Metadata
Assignees
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaround