Usage
Signature:
final class AsyncDateRestrictionValidator<V> implements AsyncValidator<V>
Typescript Import Format
//This class is exported directly as module. To import it
import AsyncDateRestrictionValidator= require("ojs/ojasyncvalidator-daterestriction");
For additional information visit:
Final classes in JET
Classes in JET are generally final and do not support subclassing. At the moment, final is not enforced. However, this will likely change in an upcoming JET release.
Constructor
new AsyncDateRestrictionValidator(options)
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
options |
DateRestrictionValidator.ValidatorOptions |
<optional> |
an object literal used to provide the following properties |
Fields
-
hint :Promise.<(string|null)>
-
A message to be used as hint. As there exists no hint for AsyncDateRestrictionValidator, default is to return null.