ACTIVE_TEXT_FIELD_TYPE

const
Form & Input

Subset of TextField types that render a browser-native picker overlay (color, file, time, date, datetime-local, week, month). Used internally to distinguish them from plain text inputs.

TypeScript

Definition

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

typescript

Entries

Values

All entries in this constant. Click a value to copy it to clipboard.

TEXT_FIELD_TYPE.COLOR
Color picker input.
TEXT_FIELD_TYPE.FILE
File upload input.
TEXT_FIELD_TYPE.TIME
Time picker input.
TEXT_FIELD_TYPE.DATE
Date picker input.
TEXT_FIELD_TYPE.DATETIME
Date-time picker input.
TEXT_FIELD_TYPE.WEEK
Week picker input.
TEXT_FIELD_TYPE.MONTH
Month picker input.

Ecosystem

Used by

Composables and components that consume this constant.

Usage

Examples

Ready-to-paste code snippets using this constant.

Detecting an active-picker input type

typescript