IConfirmWrapperProps
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.
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.
- modelValueany
- Value bound via v-model — the primary input value.
- confirmany
- Value of the confirmation input. The wrapper is "confirmed" when modelValue === confirm.
- fieldstring
- Field name forwarded to the internal inputs for form libraries (e.g. VeeValidate).
- defaultsRecord<string, any>
- Default prop values injected into the internal input slot components.
- confirmLabelstring
- Label text rendered on the confirmation input.
- disabledboolean
- Disables both inputs and prevents interaction.
- readonlyboolean
- Makes both inputs read-only.
- requiredboolean
- Marks both inputs as required (triggers native form validation).
- errorboolean
- Forces the error state on the wrapper.
- errorMessagesstring | string[]
- One or more error messages displayed below the inputs.
- hideDetailsboolean | 'auto'
- Hides the details/messages row. Set to "auto" to hide it only when there are no messages.
- messagesstring | string[]
- Informational messages displayed in the details area.
- hintstring
- Hint text shown below the inputs.
- persistentHintboolean
- Forces the hint to always be visible (not only on focus).
- centerAffixboolean
- Vertically centres the prepend/append affixes instead of aligning them to the top.
- labelstring
- 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