INPUT_TEXT_FIELD_TYPE
const
Form & Input
Subset of HTML input types that render as a standard text-style field in OrigamTextField (text, search, password, tel, url). Excludes picker types handled by ACTIVE_TEXT_FIELD_TYPE.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Entries
Values
All entries in this constant. Click a value to copy it to clipboard.
- TEXT_FIELD_TYPE.TEXT
- Plain text input.
- TEXT_FIELD_TYPE.SEARCH
- Search field with browser-native clear button.
- TEXT_FIELD_TYPE.PASSWORD
- Password field with masked characters.
- TEXT_FIELD_TYPE.TEL
- Telephone number input.
- TEXT_FIELD_TYPE.URL
- URL input.
Ecosystem
Used by
Composables and components that consume this constant.
OrigamTextField
Usage
Examples
Ready-to-paste code snippets using this constant.
Checking whether a type renders as a text field