FormController

open class FormController(component: Component<*>, val stopEvents: Boolean = true)

Constructors

Link copied to clipboard
fun FormController(component: Component<*>, stopEvents: Boolean = true)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun ifValidate(andThen: () -> Unit)

Validates all fields by touching them first and showing potential errors.

Link copied to clipboard

Resets the input of all fields

Link copied to clipboard

Validates all fields by touching them first.

Properties

Link copied to clipboard
Link copied to clipboard

Returns true when some fields are NOT valid

Link copied to clipboard

Returns true when all fields are valid

Link copied to clipboard

Number of fields with errors

Link copied to clipboard
val stopEvents: Boolean = true