TextBoxTagHelper

Example

Razor
<kendo-textbox>
    <prefix-options></prefix-options>
    <suffix-options></suffix-options>
    <textbox-label />
</kendo-textbox>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
clear-buttonBooleanIf set to true, will render a button that can be used to clear the value.
enableBooleanIf set to false, the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
fill-modeFillModeSets a value controlling how the color is applied.
forModelExpressionAn expression to be evaluated against the current model.
input-modeStringSpecifies the inputmode attribute of the inner <input /> element. It is used to specify the type of on-screen keyboard that should be displayed when the user focuses the input.
on-changeStringFired when the value of the widget is changed by the user.The event handler function context (available through the keyword this) will be set to the widget instance.
placeholderStringThe hint displayed by the widget when it is empty. Not set by default.
readonlyBooleanIf set to true, the widget will be readonly and will not allow user input. The widget is not readonly by default and allows user input.
roundedRoundedSets a value controlling the border radius.
script-attributesIDictionary<String,Object>
sizeComponentSizeSets the size of the component.
valueStringThe value of the widget.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
as-moduleBoolean
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support