Skip to content

Release 1.1.0

Choose a tag to compare

@dolanske dolanske released this 05 Apr 20:50
· 43 commits to main since this release
d964509
  • Added a new method addError which appends a new error item into the validation object. This method is available on the useValidation composable. closes (#3)
addError(validatedFormKey, {
    errorKey: 'my-error-id',
    message: 'It failed because I said so'
}
  • Fixed an issue where resetting validation object would incorrectly assign properties to the wrong path. Closes (#1), Closes (#2)
  • Improved typing on errors object. Now correctly hints at keys provided in the validated form and other methods
  • Improved speed of autoclear to only reset after validation was performed