FormMeta

interface FormMeta(source)

Represents metadata for a form, including field-level information and submission state.

This interface provides access to form-wide metadata such as the state of individual fields and whether the form is ready for submission.

Inheritors

Properties

Link copied to clipboard
abstract val canSubmit: Boolean

Whether the form is ready for submission. This is typically true when all required fields are valid and any pre-validation has passed.

Link copied to clipboard
abstract val fields: Map<FieldName, FieldMeta>

A map of field names to their corresponding metadata. Contains information about each field's validation state, errors, and user interactions.