mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user