Skip to content

Commit

Permalink
test(grid): explicit NgTemplateOutlet import with control flow
Browse files Browse the repository at this point in the history
  • Loading branch information
damyanpetev committed Oct 3, 2024
1 parent a8aa75c commit 45b6a9d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { NgTemplateOutlet } from '@angular/common';
import { Component, Input, ViewChild, Directive, TemplateRef } from '@angular/core';
import { AbstractControl, FormsModule, NG_VALIDATORS, ReactiveFormsModule, ValidationErrors, ValidatorFn, Validators } from '@angular/forms';
import { data } from '../../../../../src/app/shared/data';
Expand Down Expand Up @@ -82,7 +83,7 @@ export class IgxGridValidationTestBaseComponent {
</igx-grid>
`,
standalone: true,
imports: [IgxGridComponent, IgxColumnComponent, IgxCellValidationErrorDirective, ForbiddenValidatorDirective, IGX_GRID_VALIDATION_DIRECTIVES]
imports: [IgxGridComponent, IgxColumnComponent, IgxCellValidationErrorDirective, ForbiddenValidatorDirective, IGX_GRID_VALIDATION_DIRECTIVES, NgTemplateOutlet]
})
export class IgxGridValidationTestCustomErrorComponent extends IgxGridValidationTestBaseComponent {
}
Expand Down Expand Up @@ -138,7 +139,7 @@ export class IgxGridCustomEditorsComponent extends IgxGridValidationTestCustomEr
</igx-tree-grid>
`,
standalone: true,
imports: [IgxTreeGridComponent, IgxColumnComponent, IgxCellValidationErrorDirective, ForbiddenValidatorDirective, IGX_GRID_VALIDATION_DIRECTIVES]
imports: [IgxTreeGridComponent, IgxColumnComponent, IgxCellValidationErrorDirective, ForbiddenValidatorDirective, IGX_GRID_VALIDATION_DIRECTIVES, NgTemplateOutlet]
})
export class IgxTreeGridValidationTestComponent {
public batchEditing = false;
Expand Down

0 comments on commit 45b6a9d

Please sign in to comment.