alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Enum OtpInputType

    Defines the input type options for the SfOtpInput component, determining what characters are accepted.

    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public enum OtpInputType
    Remarks

    This enumeration controls the input validation and character filtering behavior of the OTP component. Different input types provide different user experiences and security characteristics.

    Fields

    Name Description
    Number

    Accepts only numeric characters (0-9) and automatically filters out non-numeric input.

    Password

    Accepts all characters but displays them as masked dots or asterisks for security.

    Text

    Accepts all alphanumeric characters and symbols, providing the most flexibility.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved