items.groupLength Number

    Sets each of the input groups's length when created through an array.

    Example - create input groups through an array.

    Open In Dojo
    <input id="otpinput" />
    <script>
        $("#otpinput").kendoOTPInput({
            items: [
                {
                    groupLength: 3
                },
                {
                    groupLength: 2
                }
            ]
        });
    </script>
    In this article