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
parent bb7b5e24f7
commit 5312c7d7fc

View File

@@ -445,7 +445,7 @@ export class FormFieldModel extends FormWidgetModel {
const matchingOption: FormFieldOption = this.options.find((opt) => opt.id === this.value.id); 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; break;
} }