From da672719fcec5c5badd7d122e15a3c81fe034c1c Mon Sep 17 00:00:00 2001 From: Jonah Jordan Date: Wed, 24 Jan 2024 19:35:23 +0100 Subject: [PATCH] FIX: Value could not be determined statically. This commit fixes the error Value could not be determined statically when DatepickerModule is imported with .forChild() for configuration purposes. --- packages/ngx-forms/src/lib/datepicker/datepicker.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ngx-forms/src/lib/datepicker/datepicker.module.ts b/packages/ngx-forms/src/lib/datepicker/datepicker.module.ts index 8360ecb5..8063ebc9 100644 --- a/packages/ngx-forms/src/lib/datepicker/datepicker.module.ts +++ b/packages/ngx-forms/src/lib/datepicker/datepicker.module.ts @@ -37,7 +37,7 @@ export class DatepickerModule { weekdayLabels: string[], monthLabels: string[], errorLabels: DatepickerErrorLabels - ): ModuleWithProviders { + ): ModuleWithProviders { return { ngModule: DatepickerModule, providers: [