InputSlider, InputRange, Range, Slider, MoneyA 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.
To input money use properties [postfix]
or [prefix]
. To get currency symbol use pipe tuiCurrency .
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
Use property [precision]
to configure a number of digits after comma.
With currency symbol as prefix and custom format
Default options override
#
Dynamic formatting change
#