From bf215cbd5379695ca86499232e0037541f4614de Mon Sep 17 00:00:00 2001 From: Florian Glombik Date: Wed, 6 Nov 2024 23:06:26 +0100 Subject: [PATCH] Fix compilation error --- .../date-time-picker/date-time-picker.component.html | 2 +- .../shared/date-time-picker/date-time-picker.component.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/app/shared/date-time-picker/date-time-picker.component.html b/src/main/webapp/app/shared/date-time-picker/date-time-picker.component.html index fcfa651b61a6..be3b713e9361 100644 --- a/src/main/webapp/app/shared/date-time-picker/date-time-picker.component.html +++ b/src/main/webapp/app/shared/date-time-picker/date-time-picker.component.html @@ -1,4 +1,4 @@ -@if (labelName) { +@if (labelName()) { diff --git a/src/main/webapp/app/shared/date-time-picker/date-time-picker.component.ts b/src/main/webapp/app/shared/date-time-picker/date-time-picker.component.ts index c1f06c23a88e..ff42d624166e 100644 --- a/src/main/webapp/app/shared/date-time-picker/date-time-picker.component.ts +++ b/src/main/webapp/app/shared/date-time-picker/date-time-picker.component.ts @@ -27,13 +27,13 @@ export class FormDateTimePickerComponent implements ControlValueAccessor { labelName = input(); labelTooltip = input(); @Input() value: any; - disabled = input(); + disabled = input(false); error = input(); warning = input(); requiredField = input(false); - startAt? = input(); // Default selected date. By default, this sets it to the current time without seconds or milliseconds; - min? = input(); // Dates before this date are not selectable. - max? = input(); // Dates after this date are not selectable. + startAt = input(); // Default selected date. By default, this sets it to the current time without seconds or milliseconds; + min = input(); // Dates before this date are not selectable. + max = input(); // Dates after this date are not selectable. shouldDisplayTimeZoneWarning = input(true); // Displays a warning that the current time zone might differ from the participants'. valueChange = output();