0.0.14 • Published 2 years ago

@effective-forms/core v0.0.14

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@effective-forms/zod

See full documentaion

Installation

NPM

npm install effector @effective-forms/core

Yarn

yarn add effector @effective-forms/core

Usage example

import { createForm } from '@effective-forms/core';

const form = createForm(
  fields: {
    email: {
      init: '',
      validator: (email) => {
        if (email.length > 2) {
          return { result: true };
        }

        return { result: false, errors: ['is not valid'] };
      },
    }
  },
  validator: (fields) => ...
);
0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago

0.0.5

2 years ago