Releases: formvuelate/formvuelate
Release list
formvuelate@4.3.0
Minor Changes
- d8308ca: Add read-only schema elements. Set
readonly: trueon any element and FormVueLate will render its component and hand it the whole form model to read, but it will never wirev-model, so the element can't write a value back or show up in your form output. It's a clean way to drop group labels, headings, or live summaries into a schema without treating them as fields. Read-only elements are also skipped by the vee-validate plugin, so they're never registered for validation.
@formvuelate/plugin-vee-validate@4.3.0
Minor Changes
- d8308ca: Add read-only schema elements. Set
readonly: trueon any element and FormVueLate will render its component and hand it the whole form model to read, but it will never wirev-model, so the element can't write a value back or show up in your form output. It's a clean way to drop group labels, headings, or live summaries into a schema without treating them as fields. Read-only elements are also skipped by the vee-validate plugin, so they're never registered for validation.
@formvuelate/plugin-lookup@4.3.0
@formvuelate/plugin-lookup@4.3.0
formvuelate@4.2.0
Minor Changes
-
a6e6bd0: Expose the form-level validation state outside
SchemaForm. The vee-validate plugin now emits anupdate:validationevent (usable asv-model:validation) carrying the sameerrors,values,isSubmitting,submitCountandmetaobject that the#beforeForm/#afterFormslot prop already provides. The state is seeded on mount and refreshed on every change, and only the root schema form emits it so nested schemas stay quiet.To support this, plugins can now extend the generated component's declared events through a new
extendEmitshelper passed alongsideextendSchemaFormPropsto a plugin'sextendhook.
@formvuelate/plugin-vee-validate@4.2.0
Minor Changes
-
a6e6bd0: Expose the form-level validation state outside
SchemaForm. The vee-validate plugin now emits anupdate:validationevent (usable asv-model:validation) carrying the sameerrors,values,isSubmitting,submitCountandmetaobject that the#beforeForm/#afterFormslot prop already provides. The state is seeded on mount and refreshed on every change, and only the root schema form emits it so nested schemas stay quiet.To support this, plugins can now extend the generated component's declared events through a new
extendEmitshelper passed alongsideextendSchemaFormPropsto a plugin'sextendhook.
@formvuelate/plugin-lookup@4.2.0
@formvuelate/plugin-lookup@4.2.0
formvuelate@4.1.0
Minor Changes
-
0d00ac5: Add
SchemaArray, a core field for repeatable/variable-length lists. Declare it directly in your schema ({ friends: { component: SchemaArray, items } }) anywhere in the schema, including dynamic schemas;itemscan be a group of fields (array of objects) or a single field (array of scalars), and arrays can nest. It owns the array as a real array in the model and stays strictly UI-agnostic, shipping no markup. Add/remove/reorder controls are your own components declared viaafter(per row) andappend(once), which emit their intent (add/remove/move) forSchemaArrayto perform.min/maxare exposed ascanAdd/canRemoveto those controls.Also fixes a
process is not definedcrash when FormVueLate runs in the browser (the dev-only warnings now guardtypeof process).
@formvuelate/plugin-vee-validate@4.1.0
@formvuelate/plugin-vee-validate@4.1.0
@formvuelate/plugin-lookup@4.1.0
@formvuelate/plugin-lookup@4.1.0