Vuetify: Feature Request: Lazy Validation

Created on 10 Jun 2017  路  4Comments  路  Source: vuetifyjs/vuetify

I would love to have the option to validate text inputs when the user has left a field, instead of when the user has changed data in a field. I created a codepen showing a current work-around at https://codepen.io/jijoel/pen/QgNyvJ

Ideally, I'd like to present users with a happy path, where they don't see an error message unless there's something actually wrong with their input. An email field, for instance, will not pass validation until the '@' symbol is entered, but I'd really rather not tell them that when they enter the first letter of their address.

When errors pop up everywhere during regular use, it tends to condition people to ignore them, which I'd rather not do. :-)

feature

Most helpful comment

already implemented as validate-on-blur prop for v-text-field component

All 4 comments

You might have to bug Evan You about putting back the ability for devs to hook into v-model modifiers. He removed it in 2.2.

As this is something not currently possible within Vue, I'm going to close it until Evan adds it back.

already implemented as validate-on-blur prop for v-text-field component

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. Please direct any non-bug questions to our Discord

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alterhu2020 picture alterhu2020  路  3Comments

dschreij picture dschreij  路  3Comments

cawa-93 picture cawa-93  路  3Comments

KuroThing picture KuroThing  路  3Comments

aaronjpitts picture aaronjpitts  路  3Comments