Skip to main content

Getting Started

Version

Availity form components that are wired to be hooked up to formik

Installation​

npx install-peerdeps @availity/form --save

Programmatically controlling the state of the form​

See Formik documentation

Accessing form values using hooks​

It can be helpful to understand the formik hook useFormikContext() for accessing values from the form. The documentation can be found here.

Validation​

See yup and @availity/yup.

Currently, we recommend pinning the yup version to 0.31.1 to avoid bringing in some breaking changes from that project.

Browser Compatibility! ( Internet Explorer )​

In order for this library to be compatible with Internet Explorer, the following polyfills need to be provided. If you are on @availity/workflow@6.0.0 or later, they are already provided for you.