OnsNumberInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, placeholder: String? = null, floatLabel: Boolean? = null, inputId: String? = null, classes: Set<String> = setOf(), init: (OnsNumberInput.() -> Unit)? = null)
Creates a number input component.
placeholder - the placeholder for the number input
floatLabel - whether the placeholder will be animated in Material Design
inputId - the ID of the input element
classes - a set of CSS class names
init - an initializer extension function
Constructor
Creates a number input component.