New to Kendo UI for Angular? Start a free 30-day trial

Provides custom messages for the OTP Input component.

Use this component to override the default messages.

Definition

Package:@progress/kendo-angular-inputs

Selector:kendo-otpinput-messages

Inputs

ariaLabel

string

The aria-label of the OTP Input fields. Follows the pattern Digit [[currentInput]] of [[totalInputs]] by default.

  • The default label text when the current input is 1 and the total number of inputs is 6 will be
  • Digit 1 of 6.
  • The message consists of two parts — the current input number and the total number of inputs.
  • To allow for reordering its parts, the ariaLabel input accepts a string with placeholders for the current input

and total number of inputs. The [[currentInput]] and [[totalInputs]] placeholders will be

  • replaced internally with the respective actual values.
In this article
DefinitionInputsariaLabel
Not finding the help you need?
Contact Support