Form

{
  elements: {
    firstName: {
      value: "John",
    },
  },
  formError: {
    code: "UNIDENTIFIED_CUSTOMER",
    message: "Could not find customer",
  },
  formState: "ERROR",
}

Properties

object

The elements of the form

object

The error of the form

string

The state of the form