0.0.14 • Published 8 months ago

@effective-forms/core v0.0.14

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months 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

8 months ago

0.0.13

9 months ago

0.0.12

9 months ago

0.0.11

9 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.1

10 months ago

0.0.5

10 months ago