refactoring
This commit is contained in:
parent
d9a733c184
commit
a8f6e2c4d2
@ -94,7 +94,7 @@ export class ModbusBasicConfigComponent implements ControlValueAccessor, Validat
|
||||
.pipe(takeUntil(this.destroy$))
|
||||
.subscribe(enable => {
|
||||
this.updateSlaveEnabling(enable);
|
||||
this.basicFormGroup.get('slave').updateValueAndValidity();
|
||||
this.basicFormGroup.get('slave').updateValueAndValidity({emitEvent: !!this.onChange});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user