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