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

This commit is contained in:
ArtemDzhereleiko 2021-12-24 17:03:51 +02:00
parent 8a421e3aa0
commit fef7b26050

View File

@ -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').clearValidators();
this.keyFilterFormGroup.get('value').updateValueAndValidity(); this.keyFilterFormGroup.get('value').updateValueAndValidity();
} }