Commit ea574aa4d867e255253650d507d23c912a1b81fb
Committed by
Andrew Shvayka
1 parent
98801038
UI: Fix update validate component device-credentials after enable component
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -148,6 +148,7 @@ export class DeviceCredentialsComponent implements ControlValueAccessor, OnInit, | @@ -148,6 +148,7 @@ export class DeviceCredentialsComponent implements ControlValueAccessor, OnInit, | ||
148 | } else { | 148 | } else { |
149 | this.deviceCredentialsFormGroup.enable({emitEvent: false}); | 149 | this.deviceCredentialsFormGroup.enable({emitEvent: false}); |
150 | this.updateValidators(); | 150 | this.updateValidators(); |
151 | + this.deviceCredentialsFormGroup.updateValueAndValidity(); | ||
151 | } | 152 | } |
152 | } | 153 | } |
153 | 154 |