mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(form-field): remove deprecated mat-input-container (#10297)
This commit is contained in:
@@ -81,8 +81,7 @@ export const MAT_FORM_FIELD_DEFAULT_OPTIONS =
|
||||
/** Container for form controls that applies Material Design styling and behavior. */
|
||||
@Component({
|
||||
moduleId: module.id,
|
||||
// TODO(mmalerba): the input-container selectors and classes are deprecated and will be removed.
|
||||
selector: 'mat-input-container, mat-form-field',
|
||||
selector: 'mat-form-field',
|
||||
exportAs: 'matFormField',
|
||||
templateUrl: 'form-field.html',
|
||||
// MatInput is a directive and can't have styles, so we need to include its styles here.
|
||||
|
||||
Reference in New Issue
Block a user