FormInstance

Form controller, The Form component needs to pass this controller instance so that the controller can control the component outside.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

get the full field content of the form

Link copied to clipboard

Get field error

Link copied to clipboard

all fields of the form pass through the validator

Link copied to clipboard
fun resetFields(vararg pairs: Pair<String, Any>)

fun resetFields(value: Map<String, Any> = emptyMap())

Reset fields

Link copied to clipboard
fun setFieldsValue(vararg pairs: Pair<String, Any>)

Set fields value,it only can be called after component mounted;

Link copied to clipboard

fun setFieldValue(name: String, value: Any?)

Set field value