Skip to content

Commit

Permalink
Fix tests for date-time-picker.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-glombik committed Nov 6, 2024
1 parent 026a570 commit 9b954b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export class FormDateTimePickerComponent implements ControlValueAccessor {
});

private updateSignals(): void {
this.isInputValid.set(!Boolean(this.dateInput.invalid));
this.dateInputValue.set(this.dateInput.value);
this.isInputValid.set(!Boolean(this.dateInput?.invalid));
this.dateInputValue.set(this.dateInput?.value);
}

private onChange?: (val?: dayjs.Dayjs) => void;
Expand Down

0 comments on commit 9b954b2

Please sign in to comment.