imaskNumericRef

@Composable
fun IComponent.imaskNumericRef(value: Number? = null, min: Number? = null, max: Number? = null, decimals: Int = NUMERIC_DEFAULT_DECIMALS, name: String? = null, placeholder: String? = null, disabled: Boolean? = null, required: Boolean? = null, locale: Locale = LocaleManager.currentLocale, padFractionalZeros: Boolean? = null, normalizeZeros: Boolean? = null, className: String? = null, id: String? = null, setup: @Composable INumeric.() -> Unit = {}): Numeric

Creates a Numeric component with masked input, returning a reference.

Return

a Numeric component

Parameters

value

the initial value

min

the minimum value

max

the maximum value

decimals

the number of decimal digits

name

the name attribute of the generated HTML input element

placeholder

the placeholder attribute of the generated HTML input element

disabled

determines if the field is disabled

required

determines if the field is required

locale

the locale for formatting the number

padFractionalZeros

determines if the fractional part should be padded with zeros

normalizeZeros

determines if the fractional part should be normalized

className

the CSS class name

id

the id attribute of the generated HTML input element

setup

a function for setting up the component