NuxtN
Nuxt2y ago
2 replies
Flo

UI: Disable button on form validation errors

I'm using nuxt ui to show a form to a user. The form is validated using a zod schema (works).
The docs say I can access the api using the form ref: I understand this as
myForm.errors
.

Trying to bind this to the
disabled
-prop of my submit button doesn't do anything...
Was this page helpful?