kvision / pl.treksoft.kvision.form.text / Text / <init>

<init>

(js) Text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)

Parameters

type - text input type (default "text")

value - text input value

name - the name attribute of the generated HTML input element

label - label text bound to the input element

rich - determines if label can contain HTML code

Constructor