Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Commit

Permalink
fix(helper-text): Support deprecated exports and selectors (#1625)
Browse files Browse the repository at this point in the history
Support for deprecated exports and selectors, so we avoid a breaking change for the time being.

`mdc-text-field-helper-text, [mdcTextFieldHelperText], [mdcSelectHelperText]`
  • Loading branch information
trimox authored Dec 19, 2018
1 parent b8cfff7 commit 09daf9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/form-field/helper-text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import {
import { toBoolean } from '@angular-mdc/web/common';

@Component({
selector: 'mdc-helper-text, [mdcHelperText]',
exportAs: 'mdcHelperText',
selector: `mdc-helper-text, [mdcHelperText],
mdc-text-field-helper-text, [mdcTextFieldHelperText], [mdcSelectHelperText]`,
exportAs: 'mdcHelperText, mdcSelectHelperText',
template: '<ng-content></ng-content>',
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None
Expand Down

0 comments on commit 09daf9f

Please sign in to comment.