diff options
Diffstat (limited to 'src/angular/checklist/models/ChecklistItem.ts')
-rw-r--r-- | src/angular/checklist/models/ChecklistItem.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/angular/checklist/models/ChecklistItem.ts b/src/angular/checklist/models/ChecklistItem.ts index e2d812a..7b1b321 100644 --- a/src/angular/checklist/models/ChecklistItem.ts +++ b/src/angular/checklist/models/ChecklistItem.ts @@ -6,11 +6,13 @@ export class ChecklistItemModel { public value: any; public disabled: boolean; public isChecked: boolean; + public testId: string; public subLevelChecklist: ChecklistModel; - constructor(label: string, disabled?: boolean, isChecked?: boolean, subLevelChecklist?: ChecklistModel, value?: any) { + constructor(label: string, disabled?: boolean, isChecked?: boolean, subLevelChecklist?: ChecklistModel, testId?: string, value?: any) { this.label = label; this.disabled = disabled; this.isChecked = isChecked; + this.testId = testId; this.value = isUndefined(value) ? label : value; this.subLevelChecklist = subLevelChecklist; } |