@wedgekit/validation
v4.0.2
Published
Validation for Wedgekit forms
Downloads
6
Maintainers
Keywords
Readme
WedgeKit Form Validation
Predictable validation for WedgeKit Forms.
WedgeKit Form Validation provides a way to run custom validation functions on fields within a form. Validation was built to work with @wedgekit/form
and goes even better with @wedgekit/render
.
Getting Started
yarn add @wedgekit/validation
Usage
import Form from '@wedgekit/form';
import Validation from '@wedgekit/validation';
<Form>
{{ formApi }} => (
<Validation form={formApi} validators={validators}>
...
</Validation>
)}
</Form>;