nuxt/ui

Expose v-model values in authForm

Opened this issue · 3 comments

Description

I want to let customers know what password requirements they've already checked according to create a strong password, but for this I need the model value to know what they are filling in.

You can validate it on input (that somehow doesn't work neither until you blur it once), but that's not really what I want for the full form

Additional context

https://ui3.nuxt.dev/components/input#with-password-strength-indicator

Did you try this example for password strength check?

Hi @huongphamx ,

Nice example! But I still don't really see how to use this with the AuthForm as I don't have access to the v-model value.

I might have to try to add v-model to my fields array 🤔

Well, really can't find a way to add a custom strength check to my AuthForm password field.