ORIGAM_FORM_KEY

const
Injection Keys

Vue provide/inject symbol that exposes the IFormProvide context from OrigamForm to nested form-field components (OrigamTextField, OrigamSelect, …), enabling coordinated validation, disabled/readonly state propagation, and form submission handling.

TypeScript

Definition

The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Resolved value

Ecosystem

Used by

Composables and components that consume this constant.

  • OrigamForm

  • OrigamTextField

  • OrigamSelect

Usage

Examples

Ready-to-paste code snippets using this constant.

Registering a custom field inside OrigamForm

typescript