IInputProps

interface
Form & Input

Props contract for OrigamInput — the foundational input wrapper. Aggregates density, spacing, rounding, color, border, elevation, dimension, direction, validation, adjacent-slot, and size surfaces.

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

centerAffix
boolean
Center the prepend/append affix icons vertically in the input.
hideDetails
boolean | string
Hide hint and validation messages. Pass "auto" to hide only when no message is present.
hideSpinButtons
boolean
Hide the native browser spin buttons on number inputs.
hint
string
Helper text shown below the input.
persistentHint
boolean
Always show the hint text, even when the input is not focused.
messages
Array<string> | string
Validation or status messages to display below the input.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Input with hint and validation messages

vue