Name and description | Type | Value |
---|---|---|
[min] The lowest value in the range of permitted values | null | number | null |
[max] The greatest value in the range of permitted values | null | number | null |
[step] Step to increase/decrease value with keyboard and buttons on the side | number | |
[prefix] Uneditable text before number | string | |
[postfix] Uneditable text after number | string | |
TuiNumberFormat Usage example: [tuiNumberFormat]="{thousandSeparator, decimalSeparator, ..., rounding}" | ||
[thousandSeparator] Symbol for separating thousands
| string | |
[decimalSeparator] Symbol for separating fraction
| string | |
[precision] A number of digits after [decimalSeparator] ( Infinity for an untouched decimal part)
| number | |
[decimalMode]
| TuiDecimalMode | null |
[rounding]
| TuiRounding | null |
TextfieldOptionsApplied as a host directive | ||
[tuiTextfieldCleaner] Shows a cross to reset a value
| boolean | |
[tuiTextfieldSize] Size
| TuiSizeS | null |
ControlApplied as a host directive | ||
[readOnly] Readonly state
| boolean | |
[disabled] Disabled state (use formControl.disable()/.enable() for reactive forms)
| boolean | |
[invalid] Invalid state
| null | boolean | null |