Text

constructor(type: InputType = InputType.TEXT, value: String? = null, name: String? = null, maxlength: Int? = null, label: String? = null, rich: Boolean = false, floating: Boolean = false, init: Text.() -> Unit? = null)

Parameters

type

text input type (default "text")

value

text input value

name

the name attribute of the generated HTML input element

maxlength

maximum length of the text input

label

label text bound to the input element

rich

determines if label can contain HTML code

floating

use floating label

init

an initializer extension function