OTP_INPUT_FIELD_TYPE

enum
Form & Input

TypeScript enum for OTP input field type — text, number, or password.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

OTP_INPUT_FIELD_TYPE.TEXT
Plain text input — characters are visible as the user types.
OTP_INPUT_FIELD_TYPE.NUMBER
Numeric input — triggers a numeric keyboard on mobile devices.
OTP_INPUT_FIELD_TYPE.PASSWORD
Password input — characters are masked for security.

Ecosystem

Used by

Components and props that accept this enum as a value.

Usage

Examples

Ready-to-paste code snippets using this enum.

Using the enum in script setup

typescript