Skip to content

useTextValidation

Overview

Registers reactive text validation watches on a field context.

Signature

useTextValidation(fieldContext, options)

Parameters

NameTypeRequiredDescription
fieldContextFieldContextyesThe field context to validate against.
optionsTextValidationOptionsyesConstraint configuration (typically the component props object).

Returns

void

Source

client/lib/use/validation/useTextValidation.js:24

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