Custom Validations
This section explores the concept of Custom Validations, offering a powerful way to extend the library's validation capabilities.
Purpose
How Custom Validations Work
(callback: (validationSucceed: boolean) => void) => voidfunction customValidationExample(callback) {
// Custom validation logic
const validationSucceed = /* Perform your custom validation checks here */;
// Call the callback with the result
callback(validationSucceed);
}Adding Custom Validations
Executing Custom Validations
Last updated
Was this helpful?