ChangelogNumericInputBasic UsageDefining decimal precisionDecimal precision and maxLengthFormatting input as moneyFormatting input as percentFormatting input as percent with large decimal precisionCalling functions on events (onBlur, onChange)Decimal precision and maxLength using value onBlurThousand separator as dot (.)Thousand separator as comma (,)Test with thousand separator and maxLengthWorking with large numbersWorking with large numbers with decimalsReadme
NumericInput
className
string
decimalPrecision
number
decimalSeparator
string
thousandSeparator
string
disabled
boolean
autoFocus
boolean
maxLength
number
id
string
name
string
placeholder
string
onChange
(e: ChangeEvent<Element>) => void
onBlur
(e: ChangeEvent<Element>, value: string | number) => void
onClick
() => void
onFocus
(e: FocusEvent<Element>) => void
onKeyPress
() => void
style
CSSProperties
value
string | number
percent
boolean
money
boolean
moneyMask
string
stringValueOnBlur
boolean