Browse Source

UI: Fix update validate component device-credentials after enable component

pull/4680/head
Vladyslav_Prykhodko 5 years ago
committed by Andrew Shvayka
parent
commit
ea574aa4d8
  1. 1
      ui-ngx/src/app/modules/home/components/device/device-credentials.component.ts

1
ui-ngx/src/app/modules/home/components/device/device-credentials.component.ts

@ -148,6 +148,7 @@ export class DeviceCredentialsComponent implements ControlValueAccessor, OnInit,
} else {
this.deviceCredentialsFormGroup.enable({emitEvent: false});
this.updateValidators();
this.deviceCredentialsFormGroup.updateValueAndValidity();
}
}

Loading…
Cancel
Save