[min] the lowest value in the range of permitted values | null | bigint | number | |
[max] the greatest value in the range of permitted values | null | bigint | number | |
[step] step to increase/decrease value with keyboard and buttons on the side | bigint | number | |
[prefix] uneditable text before number | string | |
[postfix] uneditable text after number | string | |
[quantum] minimum indivisible value Use | bigint | number | |
TuiNumberFormat[tuiNumberFormat]="{thousandSeparator, decimalSeparator, ..., rounding}" | ||
[thousandSeparator] symbol for separating thousands | string | |
[decimalSeparator] symbol for separating fractions | string | |
[precision] a number of digits after [decimalSeparator] ( Infinity for an untouched decimal part) | number | |
[decimalMode]
| TuiDecimalMode | |
[rounding]
| TuiRounding | |
[negativePattern] order of prefix and minus sign | 'prefixFirst' | 'minusFirst' | |
| TextfieldOptionsApplied as a host directive | ||
[tuiTextfieldCleaner] shows a cross to reset a value | boolean | |
[tuiTextfieldSize] size of the textfield. Don't use | TuiSizeS | TuiSizeL | |
[content] a template for custom view of textfield value. We strongly recommend to unset this property on focus – otherwise, it breaks UX on attempt to edit field by keyboard! | PolymorpheusContent | |
| StateManually override interactive state | ||
[state] manual interactive state ( null for automatic) | TuiInteractiveState | null | |
[focused] manual focused state ( null for automatic) | null | boolean | |
| IconsApplied as a host directive | ||
[iconStart] icon on the inline start side | string | |
[iconEnd] icon on the inline end side | string | |
| ControlApplied as a host directive | ||
[readOnly] readonly state | boolean | |
[disabled] disabled state (use formControl.disable()/.enable() for reactive forms) | boolean | |
[invalid] manual invalid state | null | boolean | |