Skip to content
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

Merged
merged 1 commit into from
Jul 14, 2017

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Jul 10, 2017

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 #5643.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jul 10, 2017
@@ -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>
Copy link
Member

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?

Copy link
Member Author

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.

Copy link
Member

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.
@crisbeto crisbeto force-pushed the 5643/prefix-selector branch from d609719 to efacdfe Compare July 12, 2017 17:09
@crisbeto crisbeto changed the title fix(input): missing selector for mdPrefix refactor(input): deprecate dash-case selectors Jul 12, 2017
@crisbeto
Copy link
Member Author

Re-purposed the PR to deprecate the dash-case selectors @jelbourn.

Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Jul 12, 2017
@jelbourn jelbourn changed the title refactor(input): deprecate dash-case selectors refactor(input): remove dash-case selectors for mdPrefix and mdSuffix Jul 12, 2017
@jelbourn jelbourn merged commit 7e8234b into angular:master Jul 14, 2017
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

md-input-container with md-prefix produces unexpected DOM
4 participants