Component #479 v2.4.1

Dynamic Form Engine with Real-time Validation & Async Data Binding

Form Engine Production Ready React/Vue TypeScript
Overview
Configuration
API Reference
Changelog

Module #479 provides a schema-driven form rendering system with built-in accessibility, i18n support, and Web Worker-backed validation. Optimized for high-frequency data entry workflows.

// Import & Initialize
import { FormEngine } from '@webui/core/forms';

const engine = new FormEngine({
  schema: ./schemas/checkout-479.json,
  theme: 'adaptive',
  validation: 'strict',
  worker: true
});

engine.render('#root').then(() => {   console.log('Module #479 mounted');
});
ParameterTypeDefaultDescription
validationModestring'standard'Strict, standard, or relaxed parsing
debounceMsnumber300Input throttle for async validation
fallbackLocalestring'en-US'Default i18n locale fallback
autoSavebooleanfalseEnable localStorage draft persistence
onSubmit: (payload: FormData) => Promise<void>
onFieldChange: (field: string, value: any) => void
resetState: () => void
getFieldError: (id: string) => string | null
exportJSON: () => Object

All hooks are tree-shakeable. Use watch() for reactive state subscriptions.

v2.4.1 Oct 24, 2025
  • Fixed race condition in async validation queue
  • Improved SSR hydration mismatch handling
v2.4.0 Oct 10, 2025
  • Added Web Worker offloading for complex schemas
  • New adaptive contrast engine
v2.3.2 Sep 28, 2025
  • Security patch: CSP header compliance