@uplink-protocol/form-controller
Version:
Reactive multi-step form controller with dynamic validation and state management
28 lines (14 loc) • 747 B
Markdown
[**@uplink-protocol/form-controller v0.2.6**](../README.md)
***
[@uplink-protocol/form-controller](../globals.md) / FormController
# Function: FormController()
> **FormController**(`config`): [`FormControllerClass`](../classes/FormControllerClass.md)
Defined in: [controller.ts:390](https://github.com/jmkcoder/uplink-protocol-form-controller/blob/b4197b802291c2a362dd28d04ee111d1534495f5/src/controller.ts#L390)
FormController - Factory function that creates and returns a new FormControllerClass instance.
## Parameters
### config
[`FormConfig`](../interfaces/FormConfig.md)
The form configuration with steps and field definitions
## Returns
[`FormControllerClass`](../classes/FormControllerClass.md)
A FormControllerClass instance