Skip to content

refactor(form-field): remove deprecated @Inputs #10294

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

Merged
merged 1 commit into from
Mar 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions src/lib/form-field/form-field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import {
LabelOptions,
MAT_LABEL_GLOBAL_OPTIONS,
mixinColor,
ThemePalette
} from '@angular/material/core';
import {fromEvent} from 'rxjs/observable/fromEvent';
import {startWith} from 'rxjs/operators/startWith';
Expand Down Expand Up @@ -139,14 +138,6 @@ export class MatFormField extends _MatFormFieldMixinBase
}
_appearance: MatFormFieldAppearance;

/**
* @deprecated Use `color` instead.
* @deletion-target 6.0.0
*/
@Input()
get dividerColor(): ThemePalette { return this.color; }
set dividerColor(value: ThemePalette) { this.color = value; }

/** Whether the required marker should be hidden. */
@Input()
get hideRequiredMarker(): boolean { return this._hideRequiredMarker; }
Expand Down Expand Up @@ -181,15 +172,6 @@ export class MatFormField extends _MatFormFieldMixinBase
// Unique id for the hint label.
_hintLabelId: string = `mat-hint-${nextUniqueId++}`;

/**
* Whether the placeholder should always float, never float or float as the user types.
* @deprecated Use floatLabel instead.
* @deletion-target 6.0.0
*/
@Input()
get floatPlaceholder(): FloatLabelType { return this.floatLabel; }
set floatPlaceholder(value: FloatLabelType) { this.floatLabel = value; }

/**
* Whether the label should always float, never float or float as the user types.
*
Expand Down