The Textbox component provides the option for adding custom items as prefix and suffix adornments.
The TextBox allows you to add custom items as prefix adornments by using the KendoTextBoxPrefixTemplate directive.
You can also add custom items as suffix adornments by using the KendoTextBoxSuffixTemplate directive.
The Textbox comes with built-in adornments which can be included to extend the component functionality and styling.
To render a Clear button inside the TextBox, set the
clearButton property to
To visually separate the specified adornments, you can add a Separator component.
You fully control the disabled state of the adornments inside the prefix and suffix containers.
The following example demonstrates how to set the
disabled property of the adornments when you disable the TextBox.