Skip to content

A Final Form Wrapper for Stripes

Notifications You must be signed in to change notification settings

folio-org/stripes-final-form

Repository files navigation

stripes-final-form

A react-final-form wrapper for Stripes

Usage:

stripesFinalForm({
  ...options
})(StripesComponent);

The options are passed through to FinalForm, so any applicable form options can be used here. In addition to the FinalForm options there are the following stripesForm-specific options:

{navigationCheck: [true *defaults to false]}

This option will cause Stripes Form to do a dirty check on the form and in a case where there is unsaved data the user is prompted before navigating from the form.