Skip to content

Commit

Permalink
fixup! fix(material/form-field): allow ng-container to be used as pre…
Browse files Browse the repository at this point in the history
…fix/suffix
  • Loading branch information
mmalerba committed Nov 29, 2022
1 parent cb37c17 commit 03225e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/material/form-field/directives/prefix.ts
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/

import {Directive, ElementRef, InjectionToken, Input} from '@angular/core';
import {Directive, InjectionToken, Input} from '@angular/core';

/**
* Injection token that can be used to reference instances of `MatPrefix`. It serves as
Expand Down
10 changes: 6 additions & 4 deletions tools/public_api_guard/material/form-field.md
Expand Up @@ -223,22 +223,24 @@ export class MatLabel {

// @public
export class MatPrefix {
constructor(elementRef: ElementRef);
// (undocumented)
_isText: boolean;
// (undocumented)
static ɵdir: i0.ɵɵDirectiveDeclaration<MatPrefix, "[matPrefix], [matIconPrefix], [matTextPrefix]", never, {}, {}, never, never, false, never>;
set _isTextSelector(value: '');
// (undocumented)
static ɵdir: i0.ɵɵDirectiveDeclaration<MatPrefix, "[matPrefix], [matIconPrefix], [matTextPrefix]", never, { "_isTextSelector": "matTextPrefix"; }, {}, never, never, false, never>;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<MatPrefix, never>;
}

// @public
export class MatSuffix {
constructor(elementRef: ElementRef);
// (undocumented)
_isText: boolean;
// (undocumented)
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSuffix, "[matSuffix], [matIconSuffix], [matTextSuffix]", never, {}, {}, never, never, false, never>;
set _isTextSelector(value: '');
// (undocumented)
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSuffix, "[matSuffix], [matIconSuffix], [matTextSuffix]", never, { "_isTextSelector": "matTextSuffix"; }, {}, never, never, false, never>;
// (undocumented)
static ɵfac: i0.ɵɵFactoryDeclaration<MatSuffix, never>;
}
Expand Down

0 comments on commit 03225e3

Please sign in to comment.