Browse Source

refactoring

pull/12023/head
mpetrov 2 years ago
parent
commit
d2db400d57
  1. 2
      ui-ngx/src/app/shared/components/kv-map.component.ts

2
ui-ngx/src/app/shared/components/kv-map.component.ts

@ -144,7 +144,7 @@ export class KeyValMapComponent extends PageComponent implements ControlValueAcc
}
validate(): ValidationErrors | null {
return this.kvListFormGroup.valid ? null : { invalid: true };
return this.kvListFormGroup.valid ? null : { keyVals: { valid: false } };
}
private updateModel() {

Loading…
Cancel
Save