PositiveNumValidator class
Validator
which will validate a number input is positive > 0.
- Annotations
-
- @Directive(selector: '[checkPositive]', providers: [ExistingProvider.forToken(NG_VALIDATORS, PositiveNumValidator)], visibility: Visibility.all)
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
AbstractControl control) → Map< String, dynamic> ? - Returns a map of the errors associated with this control.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited