Skip to content

useDateTimeValidation

Overview

Registers reactive date/datetime validation watches on a field context.

Signature

useDateTimeValidation(fieldContext, options, config)

Parameters

NameTypeRequiredDescription
fieldContextFieldContextyesThe field context to validate against.
optionsDateTimeValidationOptionsyesConstraint configuration (typically the component props object).
configDateTimeValidationConfignoStatic configuration for the validation behavior.

Returns

void

Source

client/lib/use/validation/useDateTimeValidation.js:63

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2