Home > General Components > Form

Form

@wq/react’s <Form/> component integrates formik with @wq/outbox (via @wq/app). It is generally not necessary to override this component directly. Instead, you may want to customize <FormRoot/>.

It is also possible to render <Form/> directly in a custom view, with one or more input components as children. That said, it is usually better to let <AutoForm/> generate the form layout automatically from the wq configuration object.

Source

The source code for <Form/> is available here:

  • Form.js (@wq/react)

The @wq/react implementation leverages useComponents() to facilitate customization, so there is no alternate @wq/material or native version.