FormtsOptions used to configure form. Requires Schema created using FormSchemaBuilder.
FormController object which connects other hooks to form state.
Can be passed directly to other hooks or via FormProvider component.
const Schema = new FormSchemaBuilder()...;
const MyForm: React.FC = () => {
const controller = useFormController({ Schema })
const formHandle = useFormHandle(Schema, controller)
...
}
Generated using TypeDoc
Hook that manages form state - should be used in main form component. Does not cause the component to subscribe to any form state changes.