NuxtN
Nuxt8mo ago
4 replies
partap

NuxtUI input components don't support v-model.trim?

If I use NuxtUI UInput or UTextarea components with v-model.trim property, I get typescript error TS2353, but it's fine if I use the native <input> tag.
Object literal may only specify known properties, and modelModifiers does not exist in type {...}
The trim modifier seems to be working in the form, but I can't make the error go away...
Was this page helpful?