// `DataStructure` is equivalent to `Yup.InferType<typeof schema>` and contains definitions for all values in the form
form: HTMLFormElement
submit: () => void
reset: () => void
values: WithRecaptcha<DataStructure>
fields: {
[P in DataStructure as string]?: HTMLElement
}
Need to update docs to highlight new features:
Fileobjects with a server actionFormDataobject, instead of a basic objectonChangemethod added to allow callback to run when any value in the form changesreffor<Form>component now returns a custom object instead of just the form element. Contains the following keys:FormReftype is now exported from@superrb/react-addons/src/components/form