FormState
A mutable implementation of FormData that manages form state.
This class provides a concrete implementation of form state management with support for state persistence, validation, and metadata tracking. It integrates with Compose state to provide reactive updates when form data changes.
Usage:
val formState = FormState(
value = UserData(name = "", email = ""),
policy = FormPolicy()
)
Content copied to clipboard
Parameters
T
The type of the form data.