fixed form builder service after angular 10 upgrade

This commit is contained in:
Giuseppe Digilio
2020-12-03 10:37:24 +01:00
parent 265b74f3d6
commit 308aa34d8a

View File

@@ -88,7 +88,7 @@ export class FormBuilderService extends DynamicFormService {
continue;
}
if (controlModel.hasOwnProperty('valueUpdates')) {
if (controlModel.hasOwnProperty('valueChanges')) {
(controlModel as any).value = undefined;
}
}