IConfirmWrapperProps

interface
Form & Input

Full props contract for <OrigamConfirmWrapper> — a "type-it-twice" form helper that pairs a primary input with a confirmation input and lights up only when both values match. Inherits layout, color, density, rounded, elevation, variant and focus mixins.

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.

modelValue
any
Value bound via v-model — the primary input value.
confirm
any
Value of the confirmation input. The wrapper is "confirmed" when modelValue === confirm.
field
string
Field name forwarded to the internal inputs for form libraries (e.g. VeeValidate).
defaults
Record<string, any>
Default prop values injected into the internal input slot components.
confirmLabel
string
Label text rendered on the confirmation input.
disabled
boolean
Disables both inputs and prevents interaction.
readonly
boolean
Makes both inputs read-only.
required
boolean
Marks both inputs as required (triggers native form validation).
error
boolean
Forces the error state on the wrapper.
errorMessages
string | string[]
One or more error messages displayed below the inputs.
hideDetails
boolean | 'auto'
Hides the details/messages row. Set to "auto" to hide it only when there are no messages.
messages
string | string[]
Informational messages displayed in the details area.
hint
string
Hint text shown below the inputs.
persistentHint
boolean
Forces the hint to always be visible (not only on focus).
centerAffix
boolean
Vertically centres the prepend/append affixes instead of aligning them to the top.
label
string
Label text for the primary 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.

Password confirmation field

vue