fix: best to check the values and make sure there's some
@@ -224,12 +224,14 @@ export class IntegrationsStepConfigureComponent extends FlowPage implements OnIn
category
);
*/
+ if (values) {
// supress null values
- Object.keys(values).forEach(key => {
+ for (const key in values) {
if (values[key] === 'null') {
values[key] = undefined;
}
- });
+ }
+ }
// Call formService to build the form
this.formModel = this.formFactory.createFormModel(this.formConfig, values);
this.formGroup = this.formService.createFormGroup(this.formModel);
