Browse Source

UI: Added a condition for ckeck boolean key type only for constant type

pull/5778/head
ArtemDzhereleiko 5 years ago
parent
commit
fef7b26050
  1. 2
      ui-ngx/src/app/modules/home/components/filter/key-filter-dialog.component.ts

2
ui-ngx/src/app/modules/home/components/filter/key-filter-dialog.component.ts

@ -134,7 +134,7 @@ export class KeyFilterDialogComponent extends
}
);
}
if (valueType === EntityKeyValueType.BOOLEAN) {
if (valueType === EntityKeyValueType.BOOLEAN && this.isConstantKeyType) {
this.keyFilterFormGroup.get('value').clearValidators();
this.keyFilterFormGroup.get('value').updateValueAndValidity();
}

Loading…
Cancel
Save