Adornments

The Textbox component provides the option for adding custom items as prefix and suffix adornments.

Prefix Adornments

The TextBox allows you to add custom items as prefix adornments. This is possible by making use of the KendoTextBoxPrefixTemplate directive.

Example
View Source
Edit In Stackblitz  
Change Theme:

Suffix Adornments

Custom items could be added as suffix adornments, by using the KendoTextBoxSuffixTemplate directive.

Example
View Source
Edit In Stackblitz  
Change Theme:

Built-In Adornments

The Textbox comes with built-in adornments, which could be included to extend the component functionality and styling.

Clear Button

The TextBox provides the option to enable clearButton set the clearButton property to true.

Example
View Source
Edit In Stackblitz  
Change Theme:

Separator

А Separator component could be added for visual separation of the specified adornments.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?