Skip to content

Commit

Permalink
adds another typescript fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneBenHMCTS committed Jan 31, 2025
1 parent 1c9b20a commit 0d8f1b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Component, forwardRef, Input, OnDestroy, OnInit } from '@angular/core';
import { AbstractControl, ControlValueAccessor, FormControl, NG_VALIDATORS, NG_VALUE_ACCESSOR, ValidationErrors, Validator } from '@angular/forms';
import { CaseField } from '../../../shared';

@Component({
selector: 'cut-date-input',
Expand All @@ -22,7 +23,7 @@ export class DateInputComponent implements ControlValueAccessor, Validator, OnIn
public id: string;

@Input()
public labelPrefix: string;
public labelPrefix: CaseField;

@Input()
public mandatory: boolean;
Expand Down Expand Up @@ -59,7 +60,6 @@ export class DateInputComponent implements ControlValueAccessor, Validator, OnIn
private hour: string;
private minute: string;
private second: string;
private randString: string;

public ngOnInit() {
if (this.mandatory && this.isDateTime) {
Expand Down

0 comments on commit 0d8f1b3

Please sign in to comment.