[countries] array of ISO-codes of countries to choose | ReadonlyArray<TuiCountryIsoCode> | |
[countrySearch] enable filter input for countries | boolean | |
[(countryIsoCode)] ISO-code of selected country | boolean | |
| 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 | |
| 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 | |
| DropdownApplied as a host directive | ||
[tuiDropdownAlign] align of dropdown to the side of the host | tuiDropdownAlign | |
[tuiDropdownDirection] set the vertical direction of dropdown | TuiVerticalDirection | null | |
[tuiDropdownLimitWidth] limit width of dropdown | TuiDropdownWidth | |
[tuiDropdownMinHeight] minimum height to shrink to before flipping direction | number | |
[tuiDropdownMaxHeight] maximum height of dropdown | number | |
[tuiDropdownOffset] dropdown offset from the host | number | |
(tuiDropdownDirectionChange) dropdown direction change | TuiVerticalDirection | |