Vee-validate: [Feature request] Another interaction Modes

Created on 22 Apr 2019  Â·  4Comments  Â·  Source: logaretm/vee-validate

How about to add such intaraction mode? Validate always on blur or change, but when i start typing - errors disappear.

request ✨ enhancement

Most helpful comment

Currently, interaction modes do not control if the errors are displayed or not. I think this is a flags thing and by introducing more flags like "typing" or "interacting" we can achieve the requested result.

All 4 comments

Currently, interaction modes do not control if the errors are displayed or not. I think this is a flags thing and by introducing more flags like "typing" or "interacting" we can achieve the requested result.

That would be great.

I would like to see a "positive eager" interaction mode. So when you're typing it will validate, but only show errors on blur or when the field gets invalid after it has been valid. It is useful when you want to disable the submit button in combination with the current 'eager' mode.

Some members on my team want that too. Being more specific:

  • to apply valid state on input/keypress event;
  • to apply invalid state on change/blur event;
Was this page helpful?
0 / 5 - 0 ratings