FormScope

class FormScope

Form Component scope

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

获取是否验证通过的状态

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

FormItem Component

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