Nuxt UI Form @keyup.enter sending an undefined event.data
Hello,
I recently switched to Nuxt UI and it has been a great experience.
I'm having an issue with the forms though. I have two issues :
1. Sometimes the Zod errors aren't displayed
2. @keyup.enter sends an undefined event.data
Here is the code :
3 Replies
reproduction of the two issues :
https://stackblitz.com/edit/github-zzubvt?file=app.vue
Hi, in UFormGroup you need to add the name, name="email"
in the toggle input is unnecessary since it is always boolean
and about the key enter, looks like you can remove it and the enter will work anyway
thank you so much !