Releases: Flo0806/vorm
vorm-vue v1.2.5
vorm-vue
1.2.5
Patch Changes
- #54
9668becThanks @Flo0806! - fix: validate() now validates repeater subfields correctly- validate() uses expandSchema to include repeater fields (e.g., projects[0].name)
- isValid computed now considers repeater subfields
- Added tests for validate() with repeater fields
1.2.4
Patch Changes
- #52
13d340dThanks @Flo0806! - fix: skip validation for hidden fields (showIf condition false)- Hidden fields are no longer validated and don't block form submission
- Errors are automatically cleared when a field becomes hidden
- isValid computed only considers visible fields
- Added resolveRelativePath to pathHelpers for shared use
1.2.3
Patch Changes
- #50
f73fdd4Thanks @Flo0806! - Fix validation for fields inside repeaters.validateFieldByNamenow correctly validates nested fields likeprojects[0].urlby using the expanded schema. Added tests for repeater and nested repeater validation.
1.2.2
Patch Changes
- #48
aeb8750Thanks @Flo0806! - Fix schemaclassesproperty not being applied to label, help, and outer elements in VormField component. Previously onlyclasses.inputwas working, now all class properties (outer,label,input,help) are properly applied alongside the default vorm-* classes.
1.2.1
Patch Changes
- #46
6845275Thanks @Flo0806! - fix: improve input performance with many fields- Add internal VormField component for isolated reactivity per field
- Each field now has its own component boundary, preventing re-renders of all fields when one changes
- Typing in forms with hundreds of fields is now smooth and responsive
- No API changes - this is an internal optimization
1.2.0
Minor Changes
-
#40
cf4eb54Thanks @Flo0806! - Make disabled property reactive with function support- Added
ReactiveBooleantype for reactive boolean properties - Extended
disabledinVormFieldSchemato accept functions withFormContext disablednow supports:boolean,Ref<boolean>,ComputedRef<boolean>,() => boolean,(ctx: FormContext) => boolean- AutoVorm resolves
disabledreactively and passes it to slot bindings bindField()now includesdisabledin its return value
Example:
{ name: 'submit', disabled: (ctx) => !ctx.formData.agreeToTerms || !ctx.isValid }
- Added
-
#37
d7ba028Thanks @Flo0806! - Improve developer experience with reactive errors and resolved slot propsvorm.errorsis now a reactive object - access errors directly withvorm.errors.emailinstead ofvorm.errors.value.email- AutoVorm slot props now receive resolved strings for
label,placeholder, andhelpTextinstead of ReactiveString types - Full i18n reactivity maintained - dynamic placeholders and labels update reactively when form data or locale changes
-
#39
9f7c002Thanks @Flo0806! - Add schema options and bindField for custom component support- Added
optionsfield toVormFieldSchemafor select/radio/autocomplete fields - Extended
Optiontype with custom data support ([key: string]: any) - Added
ReactiveOptionstype (static array, Ref, Computed, Function, Async) - Added
getFieldOptions()helper for reactive option access - Added
bindField()method for easy custom component binding - AutoVorm wrapper-slots now provide
modelValue,items,options,error,errorMessages,onUpdate:modelValue - Full backward compatibility with
fieldOptionsMap
- Added
Patch Changes
-
#41
58bf497Thanks @Flo0806! - Fix affects cascade: clear errors on affected fields when source validation passesWhen a field with
affectsarray passes validation, the affected fields are now
re-validated to clear any errors that were propagated from the source field.
1.1.3
Patch Changes
- #32
c3ddec1Thanks @Flo0806! - fix(vorm-vue): isValid now correctly handles fields without validation rules. Fields without validation are now considered valid by default, allowing isValid to return true when all fields with validation rules have been validated and have no errors.
1.1.2
Patch Changes
-
#30
99c68d7Thanks @Flo0806! - Fix isValid computed property to require all fields to be validatedThe isValid property now correctly returns false until ALL fields have been validated, not just at least one field. This fixes the issue where touching a single field would incorrectly mark the entire form as valid.
1.1.1
Patch Changes
1.1.0
Minor Changes
-
#15
290877cThanks @Flo0806! - Add form-level state flags (isValid, isDirty, isTouched)Added reactive computed properties to VormContext for better form state management:
- isValid: Returns true when form has been validated and has no errors
- isDirty: Returns true when at least one field has been modified
- isTouched: Returns true when at least one field has been touched
1.0.2
Patch Changes
-
#12
f736430Thanks @Flo0806! - Fix fieldOptions reactivity and setFormData handling. This patch addresses two critical issues:- Reactivity Fix: Changed
fieldOptionsMapfrom a non-reactiveMapto a reactiveRecord<string, Option[]>. This ensures that select fields properly re-render when options are set viasetFormData()orupdateField(). - setFormData Cleanup: Added proper clearing of old field options before setting new ones, allowing
setFormData({}, { fieldOptions: {...} })to work correctly without explicitly setting field values.
Breaking Fix: Select fields with dynamic options will now properly update when
setFormData()is called, even without explicit field values. - Reactivity Fix: Changed
1.0.1
Patch Changes
1.0.0
Major Changes
- first major version
vorm-vue v1.2.4
vorm-vue
1.2.4
Patch Changes
- #52
13d340dThanks @Flo0806! - fix: skip validation for hidden fields (showIf condition false)- Hidden fields are no longer validated and don't block form submission
- Errors are automatically cleared when a field becomes hidden
- isValid computed only considers visible fields
- Added resolveRelativePath to pathHelpers for shared use
1.2.3
Patch Changes
- #50
f73fdd4Thanks @Flo0806! - Fix validation for fields inside repeaters.validateFieldByNamenow correctly validates nested fields likeprojects[0].urlby using the expanded schema. Added tests for repeater and nested repeater validation.
1.2.2
Patch Changes
- #48
aeb8750Thanks @Flo0806! - Fix schemaclassesproperty not being applied to label, help, and outer elements in VormField component. Previously onlyclasses.inputwas working, now all class properties (outer,label,input,help) are properly applied alongside the default vorm-* classes.
1.2.1
Patch Changes
- #46
6845275Thanks @Flo0806! - fix: improve input performance with many fields- Add internal VormField component for isolated reactivity per field
- Each field now has its own component boundary, preventing re-renders of all fields when one changes
- Typing in forms with hundreds of fields is now smooth and responsive
- No API changes - this is an internal optimization
1.2.0
Minor Changes
-
#40
cf4eb54Thanks @Flo0806! - Make disabled property reactive with function support- Added
ReactiveBooleantype for reactive boolean properties - Extended
disabledinVormFieldSchemato accept functions withFormContext disablednow supports:boolean,Ref<boolean>,ComputedRef<boolean>,() => boolean,(ctx: FormContext) => boolean- AutoVorm resolves
disabledreactively and passes it to slot bindings bindField()now includesdisabledin its return value
Example:
{ name: 'submit', disabled: (ctx) => !ctx.formData.agreeToTerms || !ctx.isValid }
- Added
-
#37
d7ba028Thanks @Flo0806! - Improve developer experience with reactive errors and resolved slot propsvorm.errorsis now a reactive object - access errors directly withvorm.errors.emailinstead ofvorm.errors.value.email- AutoVorm slot props now receive resolved strings for
label,placeholder, andhelpTextinstead of ReactiveString types - Full i18n reactivity maintained - dynamic placeholders and labels update reactively when form data or locale changes
-
#39
9f7c002Thanks @Flo0806! - Add schema options and bindField for custom component support- Added
optionsfield toVormFieldSchemafor select/radio/autocomplete fields - Extended
Optiontype with custom data support ([key: string]: any) - Added
ReactiveOptionstype (static array, Ref, Computed, Function, Async) - Added
getFieldOptions()helper for reactive option access - Added
bindField()method for easy custom component binding - AutoVorm wrapper-slots now provide
modelValue,items,options,error,errorMessages,onUpdate:modelValue - Full backward compatibility with
fieldOptionsMap
- Added
Patch Changes
-
#41
58bf497Thanks @Flo0806! - Fix affects cascade: clear errors on affected fields when source validation passesWhen a field with
affectsarray passes validation, the affected fields are now
re-validated to clear any errors that were propagated from the source field.
1.1.3
Patch Changes
- #32
c3ddec1Thanks @Flo0806! - fix(vorm-vue): isValid now correctly handles fields without validation rules. Fields without validation are now considered valid by default, allowing isValid to return true when all fields with validation rules have been validated and have no errors.
1.1.2
Patch Changes
-
#30
99c68d7Thanks @Flo0806! - Fix isValid computed property to require all fields to be validatedThe isValid property now correctly returns false until ALL fields have been validated, not just at least one field. This fixes the issue where touching a single field would incorrectly mark the entire form as valid.
1.1.1
Patch Changes
1.1.0
Minor Changes
-
#15
290877cThanks @Flo0806! - Add form-level state flags (isValid, isDirty, isTouched)Added reactive computed properties to VormContext for better form state management:
- isValid: Returns true when form has been validated and has no errors
- isDirty: Returns true when at least one field has been modified
- isTouched: Returns true when at least one field has been touched
1.0.2
Patch Changes
-
#12
f736430Thanks @Flo0806! - Fix fieldOptions reactivity and setFormData handling. This patch addresses two critical issues:- Reactivity Fix: Changed
fieldOptionsMapfrom a non-reactiveMapto a reactiveRecord<string, Option[]>. This ensures that select fields properly re-render when options are set viasetFormData()orupdateField(). - setFormData Cleanup: Added proper clearing of old field options before setting new ones, allowing
setFormData({}, { fieldOptions: {...} })to work correctly without explicitly setting field values.
Breaking Fix: Select fields with dynamic options will now properly update when
setFormData()is called, even without explicit field values. - Reactivity Fix: Changed
1.0.1
Patch Changes
1.0.0
Major Changes
- first major version
vorm-vue v1.2.3
vorm-vue
1.2.3
Patch Changes
- #50
f73fdd4Thanks @Flo0806! - Fix validation for fields inside repeaters.validateFieldByNamenow correctly validates nested fields likeprojects[0].urlby using the expanded schema. Added tests for repeater and nested repeater validation.
1.2.2
Patch Changes
- #48
aeb8750Thanks @Flo0806! - Fix schemaclassesproperty not being applied to label, help, and outer elements in VormField component. Previously onlyclasses.inputwas working, now all class properties (outer,label,input,help) are properly applied alongside the default vorm-* classes.
1.2.1
Patch Changes
- #46
6845275Thanks @Flo0806! - fix: improve input performance with many fields- Add internal VormField component for isolated reactivity per field
- Each field now has its own component boundary, preventing re-renders of all fields when one changes
- Typing in forms with hundreds of fields is now smooth and responsive
- No API changes - this is an internal optimization
1.2.0
Minor Changes
-
#40
cf4eb54Thanks @Flo0806! - Make disabled property reactive with function support- Added
ReactiveBooleantype for reactive boolean properties - Extended
disabledinVormFieldSchemato accept functions withFormContext disablednow supports:boolean,Ref<boolean>,ComputedRef<boolean>,() => boolean,(ctx: FormContext) => boolean- AutoVorm resolves
disabledreactively and passes it to slot bindings bindField()now includesdisabledin its return value
Example:
{ name: 'submit', disabled: (ctx) => !ctx.formData.agreeToTerms || !ctx.isValid }
- Added
-
#37
d7ba028Thanks @Flo0806! - Improve developer experience with reactive errors and resolved slot propsvorm.errorsis now a reactive object - access errors directly withvorm.errors.emailinstead ofvorm.errors.value.email- AutoVorm slot props now receive resolved strings for
label,placeholder, andhelpTextinstead of ReactiveString types - Full i18n reactivity maintained - dynamic placeholders and labels update reactively when form data or locale changes
-
#39
9f7c002Thanks @Flo0806! - Add schema options and bindField for custom component support- Added
optionsfield toVormFieldSchemafor select/radio/autocomplete fields - Extended
Optiontype with custom data support ([key: string]: any) - Added
ReactiveOptionstype (static array, Ref, Computed, Function, Async) - Added
getFieldOptions()helper for reactive option access - Added
bindField()method for easy custom component binding - AutoVorm wrapper-slots now provide
modelValue,items,options,error,errorMessages,onUpdate:modelValue - Full backward compatibility with
fieldOptionsMap
- Added
Patch Changes
-
#41
58bf497Thanks @Flo0806! - Fix affects cascade: clear errors on affected fields when source validation passesWhen a field with
affectsarray passes validation, the affected fields are now
re-validated to clear any errors that were propagated from the source field.
1.1.3
Patch Changes
- #32
c3ddec1Thanks @Flo0806! - fix(vorm-vue): isValid now correctly handles fields without validation rules. Fields without validation are now considered valid by default, allowing isValid to return true when all fields with validation rules have been validated and have no errors.
1.1.2
Patch Changes
-
#30
99c68d7Thanks @Flo0806! - Fix isValid computed property to require all fields to be validatedThe isValid property now correctly returns false until ALL fields have been validated, not just at least one field. This fixes the issue where touching a single field would incorrectly mark the entire form as valid.
1.1.1
Patch Changes
1.1.0
Minor Changes
-
#15
290877cThanks @Flo0806! - Add form-level state flags (isValid, isDirty, isTouched)Added reactive computed properties to VormContext for better form state management:
- isValid: Returns true when form has been validated and has no errors
- isDirty: Returns true when at least one field has been modified
- isTouched: Returns true when at least one field has been touched
1.0.2
Patch Changes
-
#12
f736430Thanks @Flo0806! - Fix fieldOptions reactivity and setFormData handling. This patch addresses two critical issues:- Reactivity Fix: Changed
fieldOptionsMapfrom a non-reactiveMapto a reactiveRecord<string, Option[]>. This ensures that select fields properly re-render when options are set viasetFormData()orupdateField(). - setFormData Cleanup: Added proper clearing of old field options before setting new ones, allowing
setFormData({}, { fieldOptions: {...} })to work correctly without explicitly setting field values.
Breaking Fix: Select fields with dynamic options will now properly update when
setFormData()is called, even without explicit field values. - Reactivity Fix: Changed
1.0.1
Patch Changes
1.0.0
Major Changes
- first major version
vorm-vue v1.2.2
vorm-vue
1.2.2
Patch Changes
- #48
aeb8750Thanks @Flo0806! - Fix schemaclassesproperty not being applied to label, help, and outer elements in VormField component. Previously onlyclasses.inputwas working, now all class properties (outer,label,input,help) are properly applied alongside the default vorm-* classes.
1.2.1
Patch Changes
- #46
6845275Thanks @Flo0806! - fix: improve input performance with many fields- Add internal VormField component for isolated reactivity per field
- Each field now has its own component boundary, preventing re-renders of all fields when one changes
- Typing in forms with hundreds of fields is now smooth and responsive
- No API changes - this is an internal optimization
1.2.0
Minor Changes
-
#40
cf4eb54Thanks @Flo0806! - Make disabled property reactive with function support- Added
ReactiveBooleantype for reactive boolean properties - Extended
disabledinVormFieldSchemato accept functions withFormContext disablednow supports:boolean,Ref<boolean>,ComputedRef<boolean>,() => boolean,(ctx: FormContext) => boolean- AutoVorm resolves
disabledreactively and passes it to slot bindings bindField()now includesdisabledin its return value
Example:
{ name: 'submit', disabled: (ctx) => !ctx.formData.agreeToTerms || !ctx.isValid }
- Added
-
#37
d7ba028Thanks @Flo0806! - Improve developer experience with reactive errors and resolved slot propsvorm.errorsis now a reactive object - access errors directly withvorm.errors.emailinstead ofvorm.errors.value.email- AutoVorm slot props now receive resolved strings for
label,placeholder, andhelpTextinstead of ReactiveString types - Full i18n reactivity maintained - dynamic placeholders and labels update reactively when form data or locale changes
-
#39
9f7c002Thanks @Flo0806! - Add schema options and bindField for custom component support- Added
optionsfield toVormFieldSchemafor select/radio/autocomplete fields - Extended
Optiontype with custom data support ([key: string]: any) - Added
ReactiveOptionstype (static array, Ref, Computed, Function, Async) - Added
getFieldOptions()helper for reactive option access - Added
bindField()method for easy custom component binding - AutoVorm wrapper-slots now provide
modelValue,items,options,error,errorMessages,onUpdate:modelValue - Full backward compatibility with
fieldOptionsMap
- Added
Patch Changes
-
#41
58bf497Thanks @Flo0806! - Fix affects cascade: clear errors on affected fields when source validation passesWhen a field with
affectsarray passes validation, the affected fields are now
re-validated to clear any errors that were propagated from the source field.
1.1.3
Patch Changes
- #32
c3ddec1Thanks @Flo0806! - fix(vorm-vue): isValid now correctly handles fields without validation rules. Fields without validation are now considered valid by default, allowing isValid to return true when all fields with validation rules have been validated and have no errors.
1.1.2
Patch Changes
-
#30
99c68d7Thanks @Flo0806! - Fix isValid computed property to require all fields to be validatedThe isValid property now correctly returns false until ALL fields have been validated, not just at least one field. This fixes the issue where touching a single field would incorrectly mark the entire form as valid.
1.1.1
Patch Changes
1.1.0
Minor Changes
-
#15
290877cThanks @Flo0806! - Add form-level state flags (isValid, isDirty, isTouched)Added reactive computed properties to VormContext for better form state management:
- isValid: Returns true when form has been validated and has no errors
- isDirty: Returns true when at least one field has been modified
- isTouched: Returns true when at least one field has been touched
1.0.2
Patch Changes
-
#12
f736430Thanks @Flo0806! - Fix fieldOptions reactivity and setFormData handling. This patch addresses two critical issues:- Reactivity Fix: Changed
fieldOptionsMapfrom a non-reactiveMapto a reactiveRecord<string, Option[]>. This ensures that select fields properly re-render when options are set viasetFormData()orupdateField(). - setFormData Cleanup: Added proper clearing of old field options before setting new ones, allowing
setFormData({}, { fieldOptions: {...} })to work correctly without explicitly setting field values.
Breaking Fix: Select fields with dynamic options will now properly update when
setFormData()is called, even without explicit field values. - Reactivity Fix: Changed
1.0.1
Patch Changes
1.0.0
Major Changes
- first major version
vorm-vue v1.2.1
vorm-vue
1.2.1
Patch Changes
- #46
6845275Thanks @Flo0806! - fix: improve input performance with many fields- Add internal VormField component for isolated reactivity per field
- Each field now has its own component boundary, preventing re-renders of all fields when one changes
- Typing in forms with hundreds of fields is now smooth and responsive
- No API changes - this is an internal optimization
1.2.0
Minor Changes
-
#40
cf4eb54Thanks @Flo0806! - Make disabled property reactive with function support- Added
ReactiveBooleantype for reactive boolean properties - Extended
disabledinVormFieldSchemato accept functions withFormContext disablednow supports:boolean,Ref<boolean>,ComputedRef<boolean>,() => boolean,(ctx: FormContext) => boolean- AutoVorm resolves
disabledreactively and passes it to slot bindings bindField()now includesdisabledin its return value
Example:
{ name: 'submit', disabled: (ctx) => !ctx.formData.agreeToTerms || !ctx.isValid }
- Added
-
#37
d7ba028Thanks @Flo0806! - Improve developer experience with reactive errors and resolved slot propsvorm.errorsis now a reactive object - access errors directly withvorm.errors.emailinstead ofvorm.errors.value.email- AutoVorm slot props now receive resolved strings for
label,placeholder, andhelpTextinstead of ReactiveString types - Full i18n reactivity maintained - dynamic placeholders and labels update reactively when form data or locale changes
-
#39
9f7c002Thanks @Flo0806! - Add schema options and bindField for custom component support- Added
optionsfield toVormFieldSchemafor select/radio/autocomplete fields - Extended
Optiontype with custom data support ([key: string]: any) - Added
ReactiveOptionstype (static array, Ref, Computed, Function, Async) - Added
getFieldOptions()helper for reactive option access - Added
bindField()method for easy custom component binding - AutoVorm wrapper-slots now provide
modelValue,items,options,error,errorMessages,onUpdate:modelValue - Full backward compatibility with
fieldOptionsMap
- Added
Patch Changes
-
#41
58bf497Thanks @Flo0806! - Fix affects cascade: clear errors on affected fields when source validation passesWhen a field with
affectsarray passes validation, the affected fields are now
re-validated to clear any errors that were propagated from the source field.
1.1.3
Patch Changes
- #32
c3ddec1Thanks @Flo0806! - fix(vorm-vue): isValid now correctly handles fields without validation rules. Fields without validation are now considered valid by default, allowing isValid to return true when all fields with validation rules have been validated and have no errors.
1.1.2
Patch Changes
-
#30
99c68d7Thanks @Flo0806! - Fix isValid computed property to require all fields to be validatedThe isValid property now correctly returns false until ALL fields have been validated, not just at least one field. This fixes the issue where touching a single field would incorrectly mark the entire form as valid.
1.1.1
Patch Changes
1.1.0
Minor Changes
-
#15
290877cThanks @Flo0806! - Add form-level state flags (isValid, isDirty, isTouched)Added reactive computed properties to VormContext for better form state management:
- isValid: Returns true when form has been validated and has no errors
- isDirty: Returns true when at least one field has been modified
- isTouched: Returns true when at least one field has been touched
1.0.2
Patch Changes
-
#12
f736430Thanks @Flo0806! - Fix fieldOptions reactivity and setFormData handling. This patch addresses two critical issues:- Reactivity Fix: Changed
fieldOptionsMapfrom a non-reactiveMapto a reactiveRecord<string, Option[]>. This ensures that select fields properly re-render when options are set viasetFormData()orupdateField(). - setFormData Cleanup: Added proper clearing of old field options before setting new ones, allowing
setFormData({}, { fieldOptions: {...} })to work correctly without explicitly setting field values.
Breaking Fix: Select fields with dynamic options will now properly update when
setFormData()is called, even without explicit field values. - Reactivity Fix: Changed
1.0.1
Patch Changes
1.0.0
Major Changes
- first major version
vorm-vue v1.2.0
vorm-vue
1.2.0
Minor Changes
-
#40
cf4eb54Thanks @Flo0806! - Make disabled property reactive with function support- Added
ReactiveBooleantype for reactive boolean properties - Extended
disabledinVormFieldSchemato accept functions withFormContext disablednow supports:boolean,Ref<boolean>,ComputedRef<boolean>,() => boolean,(ctx: FormContext) => boolean- AutoVorm resolves
disabledreactively and passes it to slot bindings bindField()now includesdisabledin its return value
Example:
{ name: 'submit', disabled: (ctx) => !ctx.formData.agreeToTerms || !ctx.isValid }
- Added
-
#37
d7ba028Thanks @Flo0806! - Improve developer experience with reactive errors and resolved slot propsvorm.errorsis now a reactive object - access errors directly withvorm.errors.emailinstead ofvorm.errors.value.email- AutoVorm slot props now receive resolved strings for
label,placeholder, andhelpTextinstead of ReactiveString types - Full i18n reactivity maintained - dynamic placeholders and labels update reactively when form data or locale changes
-
#39
9f7c002Thanks @Flo0806! - Add schema options and bindField for custom component support- Added
optionsfield toVormFieldSchemafor select/radio/autocomplete fields - Extended
Optiontype with custom data support ([key: string]: any) - Added
ReactiveOptionstype (static array, Ref, Computed, Function, Async) - Added
getFieldOptions()helper for reactive option access - Added
bindField()method for easy custom component binding - AutoVorm wrapper-slots now provide
modelValue,items,options,error,errorMessages,onUpdate:modelValue - Full backward compatibility with
fieldOptionsMap
- Added
Patch Changes
-
#41
58bf497Thanks @Flo0806! - Fix affects cascade: clear errors on affected fields when source validation passesWhen a field with
affectsarray passes validation, the affected fields are now
re-validated to clear any errors that were propagated from the source field.
1.1.3
Patch Changes
- #32
c3ddec1Thanks @Flo0806! - fix(vorm-vue): isValid now correctly handles fields without validation rules. Fields without validation are now considered valid by default, allowing isValid to return true when all fields with validation rules have been validated and have no errors.
1.1.2
Patch Changes
-
#30
99c68d7Thanks @Flo0806! - Fix isValid computed property to require all fields to be validatedThe isValid property now correctly returns false until ALL fields have been validated, not just at least one field. This fixes the issue where touching a single field would incorrectly mark the entire form as valid.
1.1.1
Patch Changes
1.1.0
Minor Changes
-
#15
290877cThanks @Flo0806! - Add form-level state flags (isValid, isDirty, isTouched)Added reactive computed properties to VormContext for better form state management:
- isValid: Returns true when form has been validated and has no errors
- isDirty: Returns true when at least one field has been modified
- isTouched: Returns true when at least one field has been touched
1.0.2
Patch Changes
-
#12
f736430Thanks @Flo0806! - Fix fieldOptions reactivity and setFormData handling. This patch addresses two critical issues:- Reactivity Fix: Changed
fieldOptionsMapfrom a non-reactiveMapto a reactiveRecord<string, Option[]>. This ensures that select fields properly re-render when options are set viasetFormData()orupdateField(). - setFormData Cleanup: Added proper clearing of old field options before setting new ones, allowing
setFormData({}, { fieldOptions: {...} })to work correctly without explicitly setting field values.
Breaking Fix: Select fields with dynamic options will now properly update when
setFormData()is called, even without explicit field values. - Reactivity Fix: Changed
1.0.1
Patch Changes
1.0.0
Major Changes
- first major version
vorm-nuxt v1.2.1
vorm-nuxt
1.2.1
Patch Changes
- #43
08035b1Thanks @Flo0806! - Fix version display: read version dynamically from package.json instead of hardcoded value
1.2.0
Minor Changes
- #42
26c5b3cThanks @Flo0806! - Enhanced auto-imports and improved defaults- Changed
autoImportValidatorsdefault totrue - Added type auto-imports:
VormFieldSchema,Option,FieldState,ValidationMode - Added reactive type auto-imports:
FormContext,ReactiveString,ReactiveBoolean,ReactiveOptions - Removed console.log from module setup
- Updated plugin version to 1.1.0
- Changed
Patch Changes
1.1.0
Minor Changes
156bb58Thanks @Flo0806! - Add validator auto-imports and peer dependency support- Add
vorm-vueas peerDependency to enable direct imports with npm/yarn - Add
autoImportValidatorsoption (default: false) for optional validator auto-imports - Auto-import all 7 validators when enabled: minLength, maxLength, min, max, between, step, matchField
- Add experimental changeset option to prevent unnecessary version bumps on peer dependency updates
- Add
1.0.2
Patch Changes
-
#25
053367bThanks @Flo0806! - Move vorm-vue from peerDependency to normal dependency to fix automatic major version bumpsThis change resolves an issue where vorm-nuxt would incorrectly receive a major version bump whenever vorm-vue was patched or received a minor update. By moving vorm-vue to a regular dependency instead of a peerDependency, we avoid the changesets bug (changesets/changesets#1011) that causes unnecessary major version bumps.
Users can now install vorm-nuxt alone (
pnpm add vorm-nuxt) without explicitly installing vorm-vue separately. -
Updated dependencies [
053367b]:- vorm-vue@1.1.1
1.0.1
Patch Changes
003c2f0Thanks @Flo0806! - Move vorm-vue to peerDependencies for better dependency management- vorm-vue is now a peerDependency instead of a direct dependency
- Users must install both packages explicitly:
pnpm add vorm-nuxt vorm-vue - Follows Nuxt module best practices
- Allows users to control vorm-vue version independently
- Updated README with clearer installation instructions
1.0.0
Major Changes
a17e15dThanks @Flo0806! - Initial release of vorm-nuxt - Nuxt module for vorm- Auto-imports for useVorm and useVormContext composables
- Auto-registration of all vorm-vue components (VormProvider, AutoVorm, VormSection, VormRepeater)
- TypeScript support with auto-imported types
- Configurable module options for auto-imports and components
- Full SSR support
- Zero configuration setup
vorm-nuxt v1.2.0
vorm-nuxt
1.2.0
Minor Changes
- #42
26c5b3cThanks @Flo0806! - Enhanced auto-imports and improved defaults- Changed
autoImportValidatorsdefault totrue - Added type auto-imports:
VormFieldSchema,Option,FieldState,ValidationMode - Added reactive type auto-imports:
FormContext,ReactiveString,ReactiveBoolean,ReactiveOptions - Removed console.log from module setup
- Updated plugin version to 1.1.0
- Changed
Patch Changes
1.1.0
Minor Changes
156bb58Thanks @Flo0806! - Add validator auto-imports and peer dependency support- Add
vorm-vueas peerDependency to enable direct imports with npm/yarn - Add
autoImportValidatorsoption (default: false) for optional validator auto-imports - Auto-import all 7 validators when enabled: minLength, maxLength, min, max, between, step, matchField
- Add experimental changeset option to prevent unnecessary version bumps on peer dependency updates
- Add
1.0.2
Patch Changes
-
#25
053367bThanks @Flo0806! - Move vorm-vue from peerDependency to normal dependency to fix automatic major version bumpsThis change resolves an issue where vorm-nuxt would incorrectly receive a major version bump whenever vorm-vue was patched or received a minor update. By moving vorm-vue to a regular dependency instead of a peerDependency, we avoid the changesets bug (changesets/changesets#1011) that causes unnecessary major version bumps.
Users can now install vorm-nuxt alone (
pnpm add vorm-nuxt) without explicitly installing vorm-vue separately. -
Updated dependencies [
053367b]:- vorm-vue@1.1.1
1.0.1
Patch Changes
003c2f0Thanks @Flo0806! - Move vorm-vue to peerDependencies for better dependency management- vorm-vue is now a peerDependency instead of a direct dependency
- Users must install both packages explicitly:
pnpm add vorm-nuxt vorm-vue - Follows Nuxt module best practices
- Allows users to control vorm-vue version independently
- Updated README with clearer installation instructions
1.0.0
Major Changes
a17e15dThanks @Flo0806! - Initial release of vorm-nuxt - Nuxt module for vorm- Auto-imports for useVorm and useVormContext composables
- Auto-registration of all vorm-vue components (VormProvider, AutoVorm, VormSection, VormRepeater)
- TypeScript support with auto-imported types
- Configurable module options for auto-imports and components
- Full SSR support
- Zero configuration setup
vorm-vue v1.1.3
vorm-vue
1.1.3
Patch Changes
- #32
c3ddec1Thanks @Flo0806! - fix(vorm-vue): isValid now correctly handles fields without validation rules. Fields without validation are now considered valid by default, allowing isValid to return true when all fields with validation rules have been validated and have no errors.
1.1.2
Patch Changes
-
#30
99c68d7Thanks @Flo0806! - Fix isValid computed property to require all fields to be validatedThe isValid property now correctly returns false until ALL fields have been validated, not just at least one field. This fixes the issue where touching a single field would incorrectly mark the entire form as valid.
1.1.1
Patch Changes
1.1.0
Minor Changes
-
#15
290877cThanks @Flo0806! - Add form-level state flags (isValid, isDirty, isTouched)Added reactive computed properties to VormContext for better form state management:
- isValid: Returns true when form has been validated and has no errors
- isDirty: Returns true when at least one field has been modified
- isTouched: Returns true when at least one field has been touched
1.0.2
Patch Changes
-
#12
f736430Thanks @Flo0806! - Fix fieldOptions reactivity and setFormData handling. This patch addresses two critical issues:- Reactivity Fix: Changed
fieldOptionsMapfrom a non-reactiveMapto a reactiveRecord<string, Option[]>. This ensures that select fields properly re-render when options are set viasetFormData()orupdateField(). - setFormData Cleanup: Added proper clearing of old field options before setting new ones, allowing
setFormData({}, { fieldOptions: {...} })to work correctly without explicitly setting field values.
Breaking Fix: Select fields with dynamic options will now properly update when
setFormData()is called, even without explicit field values. - Reactivity Fix: Changed
1.0.1
Patch Changes
1.0.0
Major Changes
- first major version
vorm-vue v1.1.2
vorm-vue
1.1.2
Patch Changes
-
#30
99c68d7Thanks @Flo0806! - Fix isValid computed property to require all fields to be validatedThe isValid property now correctly returns false until ALL fields have been validated, not just at least one field. This fixes the issue where touching a single field would incorrectly mark the entire form as valid.
1.1.1
Patch Changes
1.1.0
Minor Changes
-
#15
290877cThanks @Flo0806! - Add form-level state flags (isValid, isDirty, isTouched)Added reactive computed properties to VormContext for better form state management:
- isValid: Returns true when form has been validated and has no errors
- isDirty: Returns true when at least one field has been modified
- isTouched: Returns true when at least one field has been touched
1.0.2
Patch Changes
-
#12
f736430Thanks @Flo0806! - Fix fieldOptions reactivity and setFormData handling. This patch addresses two critical issues:- Reactivity Fix: Changed
fieldOptionsMapfrom a non-reactiveMapto a reactiveRecord<string, Option[]>. This ensures that select fields properly re-render when options are set viasetFormData()orupdateField(). - setFormData Cleanup: Added proper clearing of old field options before setting new ones, allowing
setFormData({}, { fieldOptions: {...} })to work correctly without explicitly setting field values.
Breaking Fix: Select fields with dynamic options will now properly update when
setFormData()is called, even without explicit field values. - Reactivity Fix: Changed
1.0.1
Patch Changes
1.0.0
Major Changes
- first major version