Numeric

constructor(value: Number? = null, name: String? = null, min: Number? = null, max: Number? = null, decimals: Int = 2, decimalSeparator: Char = I18n.detectDecimalSeparator(), label: String? = null, rich: Boolean = false, init: Numeric.() -> Unit? = null)

Parameters

value

numeric value

name

the name attribute of the generated HTML input element

min

minimal value

max

maximal value

decimals

the number of decimal digits (default 2)

decimalSeparator

the decimal separator (default: auto detect)

label

label text bound to the input element

rich

determines if label can contain HTML code

init

an initializer extension function