Optional
groupGroup validation name, a tool to group Validatable ValueHosts with a specific submit command when validating. Use when there is more than one group of Validatable ValueHosts to be validated together. For example, the ValidationManager handles two forms at once. Give the ValidatableValueHostConfig.group a name for each form. Then make their submit command pass in the same group name. When Group is undefined or "*", validate() does not check group names. All Validatable ValueHosts within the ValidationManager are validated. When assigned, only Validatable ValueHosts with a matching group name (case insensitive) will be involved.
Optional
preliminarySet to true when running a validation prior to a submit activity. Typically set to true just after loading the form to report any errors already present. During this phase, the Category=Require validator is not checked as the user doesn't need the noise complaining about missing input when they haven't had a chance to address it. When undefined, it is the same as false.
Optional
duringSet to true when handling an intermediate change activity, such as a keystroke changed a textbox but the user remains in the textbox. For example, on the HTMLInputElement.oninput event. This will involve only validators that make sense during such an edit. Specifically their Condition implements IEvaluateConditionDuringEdits. The IEvaluateConditionDuringEdits.evaluateDuringEdit() function is used instead of ICondition.evaluate(). When undefined, it is the same as false.
Optional
skipIf you have setup a OnValidated or onValueHostValidationStateChanged callback, you may not want it to fire when you expressly call validate(). In that case, set this to true.
Generated using TypeDoc v0.25.12
Parameter for the validate() function on Validatable ValueHosts and ValidationManager. It provides additional guidance on how to get the validators involved.