FormItem

fun <T : Any> FormItem(name: String, vararg validators: Validator, content: @Composable (Tuple3<MutableState<T?>, Boolean, List<String>>) -> Unit)

FormItem Component

Receiver

Parameters

name
validators
content
T

fun <T : Any> FormItem(name: String, validators: List<Validator> = emptyList(), content: @Composable (Tuple3<MutableState<T?>, Boolean, List<String>>) -> Unit)

Deprecated

use vararg params

Replace with

FormItem(name = name, validators = validators.toTypedArray(), content = content)