TFileFieldDisplay
type
Form & Input
Controls how a multi-file selection is rendered inside <OrigamFileField>.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- list
- Default. Renders each selected file as a card in a vertical stack below the field. Suitable when filenames and per-file actions (remove, download, progress) need to be visible.
- chips
- Renders each selected file as a closable <OrigamChip> inline inside the field. Compact mode — best for forms where many files can be selected but vertical space is limited.
- counter
- Shows a single "N files selected" line with an <OrigamCounter>. Most compact mode — use when the file names are irrelevant to the user after selection.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
List display (default)
Chips display
Counter display