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
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- 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.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Password confirmation field