Binds a validator to the given path that requires the value to be greater than or equal to
the given minValue.
This function can only be called on number paths.
In addition to binding a validator, this function adds MIN property to the field.
min
voidBinds a validator to the given path that requires the value to be greater than or equal to
the given minValue.
This function can only be called on number paths.
In addition to binding a validator, this function adds MIN property to the field.
@parampath
{ [ɵɵTYPE]: [number, TPathKind]; }Path of the field to validate
@paramminValue
number | LogicFn<number, number | undefined, TPathKind>The minimum value, or a LogicFn that returns the minimum value.
@paramconfig
BaseValidatorConfig<number, TPathKind> | undefinedOptional, allows providing any of the following options:
error: Custom validation error(s) to be used instead of the defaultValidationError.min(minValue)or a function that receives theFieldContextand returns custom validation error(s).
@returns
voidJump to details