From efacdfead8e03ff7ac98a7930fc8c4f2b2503878 Mon Sep 17 00:00:00 2001 From: crisbeto Date: Mon, 10 Jul 2017 19:08:55 +0200 Subject: [PATCH] refactor(input): deprecate dash-case selectors 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. --- src/lib/input/input-container.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/input/input-container.ts b/src/lib/input/input-container.ts index 07fea22ced03..f2f49be22637 100644 --- a/src/lib/input/input-container.ts +++ b/src/lib/input/input-container.ts @@ -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 {}