Skip to content

Commit

Permalink
fix: update test app custom error component's property names (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
harikvpy committed Jul 14, 2020
1 parent 1555af0 commit 4bb5d68
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { DefaultControlErrorComponent } from '@ngneat/error-tailor';
@Component({
selector: 'custom-control-error',
template: `
<div class="control-error" [class.hide-control]="hide" *ngIf="!_tpl">
<h3>{{ _text }}</h3>
<div class="control-error" [class.hide-control]="hideError" *ngIf="!errorTemplate">
<h3>{{ errorText }}</h3>
</div>
<ng-template *ngTemplateOutlet="_tpl; context: context"></ng-template>
<ng-template *ngTemplateOutlet="errorTemplate; context: errorContext"></ng-template>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
styles: [
Expand Down

0 comments on commit 4bb5d68

Please sign in to comment.