PreviewPolicy

A specialized form policy designed for use in Compose Previews and testing environments.

This policy provides a simplified configuration optimized for previewing individual form fields in isolation. It focuses on essential validation behavior while avoiding complex form-wide interactions that aren't relevant in preview contexts.

The policy is used internally by PreviewField to create a minimal form environment that supports field validation and state management without the overhead of a full production form setup.

Properties

Link copied to clipboard

Configuration options for field-level validation behavior.

Link copied to clipboard
abstract val formOptions: FormOptions

Configuration options for form-level validation behavior.