From 5312c7d7fc8e573c02c22d02677031090d1df37f Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Thu, 15 May 2025 18:40:47 +0200 Subject: [PATCH] Update lib/core/src/lib/form/components/widgets/core/form-field.model.ts Co-authored-by: Ehsan Rezaei --- .../src/lib/form/components/widgets/core/form-field.model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/lib/form/components/widgets/core/form-field.model.ts b/lib/core/src/lib/form/components/widgets/core/form-field.model.ts index aa4b2a5ad4..d3a7f60aec 100644 --- a/lib/core/src/lib/form/components/widgets/core/form-field.model.ts +++ b/lib/core/src/lib/form/components/widgets/core/form-field.model.ts @@ -445,7 +445,7 @@ export class FormFieldModel extends FormWidgetModel { const matchingOption: FormFieldOption = this.options.find((opt) => opt.id === this.value.id); - this.form.values[this.id] = matchingOption || null; + this.form.values[this.id] = matchingOption; } break; }