Update lib/core/src/lib/form/components/widgets/core/form-field.model.ts

Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
This commit is contained in:
Eugenio Romano
2025-05-15 18:40:47 +02:00
committed by GitHub
co-authored by Ehsan Rezaei
parent bb7b5e24f7
commit 5312c7d7fc
@@ -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;
}