OTPInput

Example

Razor
<kendo-otpinput>
    <otpinput-items></otpinput-items>
</kendo-otpinput>

ChildTags

Tag NameDetails
otpinput-itemsOTPInputItemsTagHelper

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
forModelExpressionAn expression to be evaluated against the current model.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
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.
as-moduleBoolean
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.
has-client-componentBoolean
input-modeStringSets the appearance of the keyboard for a devices with a virtual keyboard
items-lengthInt32
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 the inputs are empty. Not set by default.
readonlyBooleanIf set to false, the user will be will unable to enter values within the inputs. The widget is non-readonly by default and allows user input.
roundedRoundedSets a value controlling the border radius.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
separatorStringAdds a separator for each of the input groups.
separator-handlerStringAdds a separator for each of the input groups.
sizeComponentSizeSets the size of the component.
spaceBooleanIf set to true, each of the input groups will not be concatenated with one another.
typeOTPTypeSets a value which will dictate the type of the component.
valueStringThe value of the widget.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support