forms-reactive
Version:
Reactive Form Web Component
33 lines (32 loc) • 1.04 kB
JavaScript
export var ReactiveFormStatus;
(function (ReactiveFormStatus) {
/**
* Reports that a FormControl is valid, meaning that no errors exist in the input value.
*
* @see `status`
*/
ReactiveFormStatus["VALID"] = "VALID";
/**
* Reports that a FormControl is invalid, meaning that an error exists in the input value.
*
* @see `status`
*/
ReactiveFormStatus["INVALID"] = "INVALID";
/**
* Reports that a FormControl is pending, meaning that that async validation is occurring and
* errors are not yet available for the input value.
*
* @see `markAsPending`
* @see `status`
*/
ReactiveFormStatus["PENDING"] = "PENDING";
/**
* Reports that a FormControl is disabled, meaning that the control is exempt from ancestor
* calculations of validity or value.
*
* @see `markAsDisabled`
* @see `status`
*/
ReactiveFormStatus["DISABLED"] = "DISABLED";
})(ReactiveFormStatus || (ReactiveFormStatus = {}));
//# sourceMappingURL=types.js.map