useTimeValidation
Overview
Registers reactive time validation watches on a field context.
Signature
useTimeValidation(fieldContext, options)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| fieldContext | FieldContext | yes | The field context to validate against. |
| options | TimeValidationOptions | yes | Constraint configuration (typically the component props object). |
Returns
void
Source
client/lib/use/validation/useTimeValidation.js:47