srcdev-nuxt-forms 2.1.21 → 2.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,7 +110,6 @@ const useZodValidation = (formSchema: any, formRef: Ref<HTMLFormElement | null>)
110
110
  };
111
111
 
112
112
  const scrollToFirstError = async () => {
113
- await nextTick();
114
113
  if (formRef.value) {
115
114
  const firstErrorElement = formRef.value.querySelector('[aria-invalid=true]');
116
115
  window.scrollTo({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-forms",
3
3
  "type": "module",
4
- "version": "2.1.21",
4
+ "version": "2.1.22",
5
5
  "main": "nuxt.config.ts",
6
6
  "scripts": {
7
7
  "clean": "rm -rf .nuxt && rm -rf .output && rm -rf .playground/.nuxt && rm -rf .playground/.output",