Skip to content

Commit

Permalink
refactor(input): deprecate dash-case selectors (#5647)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
crisbeto authored and jelbourn committed Jul 14, 2017
1 parent 5bcba85 commit 7e8234b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/input/input-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ export class MdErrorDirective { }

/** Prefix to be placed the the front of the input. */
@Directive({
selector: '[mdPrefix], [matPrefix], [md-prefix]'
selector: '[mdPrefix], [matPrefix]'
})
export class MdPrefix {}


/** Suffix to be placed at the end of the input. */
@Directive({
selector: '[mdSuffix], [matSuffix], [md-suffix]'
selector: '[mdSuffix], [matSuffix]'
})
export class MdSuffix {}

Expand Down

0 comments on commit 7e8234b

Please sign in to comment.