Skip to content

use/validation/useFieldValidation ​

Overview ​

Dispatches field validation to the appropriate composable based on a validation type string. Used by the generic Field component to apply type-specific validation from fieldMappings configuration.

Methods ​

  • useFieldValidation - Dispatches to the validation composable matching the given type string.

Source ​

client/lib/use/validation/useFieldValidation.js:1