InputNumber LEGACY

Examples API Setup
See also
InputSlider, InputRange, Range, Slider, Money
A component to input numbers. Control value is also of number type.

There are also other components to input numbers:

Number formatting can be customized with TUI_NUMBER_FORMAT token.

Currency

#

To input money use properties [postfix] or [prefix] . To get currency symbol use pipe tuiCurrency .

sizes

#

Customize input via TextfieldControllers .

If you need to set some attributes or listen to events on native input , you can put it inside with Textfield directive as shown below

8 digits after comma

#

Use property [precision] to configure a number of digits after comma.

Align to the right

#

With currency symbol as prefix and custom format

Prefix and postfix

#

Default options override

#

Dynamic formatting change

#

Min / max

#