@wedgekit/validation
TypeScript icon, indicating that this package has built-in type declarations

4.0.2 • Public • Published

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>;

Readme

Keywords

none

Package Sidebar

Install

npm i @wedgekit/validation

Weekly Downloads

6

Version

4.0.2

License

MIT

Unpacked Size

20.9 kB

Total Files

12

Last publish

Collaborators

  • tprettyman
  • rnimrod
  • jquerijero
  • brent-heavican
  • msuiter
  • rerskine
  • timmy2654
  • jfiller
  • mada1113
  • kolson
  • dreadman3716