OTPInputComponent
Selector
kendo-otpinput
Export Name
Accessible in templates as #kendoOTPInputInstance="kendoOTPInput"
Inputs
Name | Type | Default | Description |
---|---|---|---|
disabled |
|
|
Configures whether the component is enabled or disabled. |
fillMode |
|
The The possible values are:
| |
groupLength |
|
Configures the length of the groups. If | |
inputAttributes |
|
Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed. | |
length |
|
|
Configures the total number of input fields. |
placeholder |
|
Configures the placeholder of the input fields. | |
readonly |
|
|
Configures whether the component is readonly. |
rounded |
|
The The possible values are:
| |
separator |
|
Specifies the separator between groups of input fields.
| |
size |
|
The The possible values are:
| |
spacing |
|
|
Configures whether the input fields are separate or adjacent to each other. |
type |
|
|
Configures the input type.
|
value |
|
Configures the value of the component. Unfilled input fields are represented with space. |
Events
Name | Type | Description |
---|---|---|
blur |
|
Fires each time the user blurs the OTP Input. |
focus |
|
Fires each time the user focuses the OTP Input. |
valueChange |
|
Fires each time the value is changed by the user—
When the value of the component is programmatically changed to |
Methods
blur |
---|
Blurs the OTP Input. |
focus | ||||||
---|---|---|---|---|---|---|
Focuses the OTP Input. | ||||||
|