Optional
controller: FormControllerobtained by using useFormController
hook, used to connect to form state.
Injected automatically via React Context when used inside FormProvider
component.
FormHandle
used to interact with form.
const Schema = new FormSchemaBuilder()...;
const MyForm: React.FC = () => {
const controller = useFormController({ Schema })
const formHandle = useFormHandle(Schema, controller)
...
}
Generated using TypeDoc
Hook used to gain access to form-wide methods and properties computed from all fields. Causes the component to subscribe to changes to form state that affect the computed properties.