1.0.3-alpha.8 • Published 7 years ago

formik-simple v1.0.3-alpha.8

Weekly downloads
47
License
-
Repository
github
Last release
7 years ago

formik-simple

This is a very small wrapper around the formik HOC to make usage a little simpler.

Usage

Allows for usage in the following manner:

<Component {...form.$('fieldA')} />

Or for nested properties:

<Component {...form.$('fieldB.subField')} />

With values in the shape

{
    fieldA: 'fieldAValue',
    fieldB:{
        subFieldC: 'subFieldCValue'
    }
}

Errors (from yup validation) are also passed as props to the field components

See also

https://github.com/jaredpalmer/formik for withFormik API Field pattern form.$ based on https://github.com/foxhound87/mobx-react-form

1.0.3-alpha.8

7 years ago

1.0.3-alpha.7

7 years ago

1.0.3-alpha.6

7 years ago

1.0.3-alpha.5

7 years ago

1.0.3-alpha.4

7 years ago

1.0.3-alpha.3

7 years ago

1.0.3-alpha.2

7 years ago

1.0.3-alpha.1

7 years ago

1.0.3

7 years ago

1.0.2-alpha.4

7 years ago

1.0.2-alpha.3

7 years ago

1.0.2-alpha.2

7 years ago

1.0.2-alpha.1

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago