Form
A form interface that provides form state management and submission handling.
This interface represents a form with type-safe data binding and validation capabilities. It manages form state, field validation, and form submission logic.
Usage:
val form = rememberForm(
initialValue = FormData(),
onSubmit = { data -> /* handle submission */}
)
Parameters
The type of the form data.
Functions
Creates a form field with validation and state management.
Creates a form field with type adaptation, validation, and state management.
Creates a field for a TextFieldState-based form with direct text validation.
Creates a field for a TextFieldState-based form with type adaptation and validation.
Creates a form text field with validation and state management for TextFieldState.
Creates a form text field with type adaptation, validation, and state management.
Handles form submission by validating all fields and calling the submit callback if validation passes.
Creates and remembers a form field control with validation and state management.
Creates and remembers a form field control with type adaptation, validation, and state management.
Creates and remembers a form text field control with validation and state management.
Creates and remembers a form text field control with type adaptation, validation, and state management.