Package-level declarations
Types
Functions
Link copied to clipboard
fun <V> PreviewField(initialValue: V, validator: FieldValidator<V>? = null, name: FieldName? = null, enabled: Boolean = true, policy: PreviewPolicy = defaultPreviewPolicy, render: @Composable (FormField<V>) -> Unit)
Creates a standalone form field for use in Compose Previews and testing.
fun <V, S, U> PreviewField(initialValue: V, adapter: FieldTypeAdapter<V, S, U>, validator: FieldValidator<S>? = null, name: FieldName? = null, enabled: Boolean = true, policy: PreviewPolicy = defaultPreviewPolicy, render: @Composable (FormField<U>) -> Unit)
Creates a standalone form field with type adaptation for use in Compose Previews and testing.
Link copied to clipboard
Creates a preview policy with the specified initial validation mode.