aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular/form-elements/checkbox/checkbox.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/angular/form-elements/checkbox/checkbox.component.ts')
-rw-r--r--src/angular/form-elements/checkbox/checkbox.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/angular/form-elements/checkbox/checkbox.component.ts b/src/angular/form-elements/checkbox/checkbox.component.ts
index ec05eac..2b50e6d 100644
--- a/src/angular/form-elements/checkbox/checkbox.component.ts
+++ b/src/angular/form-elements/checkbox/checkbox.component.ts
@@ -1,5 +1,5 @@
import { Component, Input, Output, EventEmitter, ViewEncapsulation } from '@angular/core';
-import template from "./checkbox.component.html";
+import { template } from "./checkbox.component.html";
@Component({
selector: 'sdc-checkbox',
@@ -10,6 +10,7 @@ export class CheckboxComponent {
@Input() label:string;
@Input() checked:boolean;
@Input() disabled:boolean;
+ @Input() testId: string;
@Output() checkedChange:EventEmitter<any> = new EventEmitter<any>();
public toggleState(newState:boolean) {