fix: Charges min and max gap validations and labels
This commit is contained in:
@@ -8,6 +8,9 @@ export function maxNumberValueValidator(maxControlName: string): ValidatorFn {
|
||||
}
|
||||
|
||||
let maxValue = maxControl.value;
|
||||
if (maxValue == null) {
|
||||
return null;
|
||||
}
|
||||
if (typeof maxValue === 'undefined') {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user