-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(input): remove dash-case selectors for mdPrefix and mdSuffix #5647
Conversation
src/lib/input/input-container.html
Outdated
@@ -23,7 +23,7 @@ | |||
</div> | |||
|
|||
<div class="mat-input-suffix" *ngIf="_suffixChildren.length"> | |||
<ng-content select="[mdSuffix], [matSuffix]"></ng-content> | |||
<ng-content select="[mdSuffix], [matSuffix], [md-suffix]"></ng-content> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just remove the dash-case selectors at this point?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose, I wasn't sure what the plan for deprecating them was.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like they're not used inside google, so should be safe to remove
Removes the `md-prefix` and `md-suffix` selectors from their respective directives. BREAKING CHANGES: Any uses of `md-prefix` and `md-suffix` should be switched over to `mdPrefix` and `mdSuffix`. Fixes angular#5643.
d609719
to
efacdfe
Compare
Re-purposed the PR to deprecate the dash-case selectors @jelbourn. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Removes the
md-prefix
andmd-suffix
selectors from their respective directives.BREAKING CHANGES: Any uses of
md-prefix
andmd-suffix
should be switched over tomdPrefix
andmdSuffix
.Fixes #5643.