Taiga UI 5 is out!

InputPhone KIT

Examples API GitHub

[mask]
Text mask. You can use # , - , brackets and spaces as a template symbol
string
TextfieldOptionsApplied as a host directive
[tuiTextfieldCleaner]
shows a cross to reset a value
boolean
[tuiTextfieldSize]
size of the textfield.

Don't use label[tuiLabel] inside s - size textfield.
Use outside label or <input placeholder="..." /> instead.

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
[filler]
grayed out guiding text
string
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