Browse Source

UI: set validator to default

pull/14765/head
ArtemDzhereleiko 9 months ago
parent
commit
0f1db861d9
  1. 4
      ui-ngx/src/app/shared/components/time-unit-input.component.ts

4
ui-ngx/src/app/shared/components/time-unit-input.component.ts

@ -205,9 +205,7 @@ export class TimeUnitInputComponent implements ControlValueAccessor, Validator,
} }
} }
if (propName === 'minTime') { if (propName === 'minTime') {
if (isDefinedAndNotNull(this.minTime)) { this.minValueValidator = isDefinedAndNotNull(this.minTime) ? this.minValue : 0;
this.minValueValidator = this.minValue;
}
} }
} }
} }

Loading…
Cancel
Save