Skip to content
Open
Show file tree
Hide file tree
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
6 changes: 4 additions & 2 deletions src/input/password-input-label.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {
TemplateRef,
ViewChild,
ChangeDetectorRef,
ContentChild
ContentChild,
ChangeDetectionStrategy
} from "@angular/core";
import { PasswordInput } from "./password.directive";
import { BaseIconButton } from "carbon-components-angular/button";
Expand Down Expand Up @@ -149,7 +150,8 @@ import { BaseIconButton } from "carbon-components-angular/button";
}
</div>
}
`
`,
changeDetection: ChangeDetectionStrategy.OnPush
})
/**
* Represents the Password Input Label Component.
Expand Down
4 changes: 3 additions & 1 deletion src/input/text-input-label.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {
AfterContentInit,
AfterViewInit,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
ElementRef,
Expand Down Expand Up @@ -124,7 +125,8 @@ import {
}
</div>
}
`
`,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class TextInputLabelComponent implements AfterViewInit, AfterContentInit {
/**
Expand Down
6 changes: 4 additions & 2 deletions src/input/textarea-label.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {
TemplateRef,
ViewChild,
ContentChild,
ChangeDetectorRef
ChangeDetectorRef,
ChangeDetectionStrategy
} from "@angular/core";

import { TextArea } from "./text-area.directive";
Expand Down Expand Up @@ -137,7 +138,8 @@ import { TextArea } from "./text-area.directive";
}
}
}
`
`,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class TextareaLabelComponent implements AfterViewInit {
/**
Expand Down