question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

combine data-vv-value-path and data-vv-validate-on when validating custom component

See original GitHub issue

Versions:

  • VueJs: 2.2.6
  • Vee-Validate: ^2.0.0-rc.3

Description:

Is there any way to combine data-vv-value-path and data-vv-validate-on when validating a custom component? Specified validate-on event like blur seems to be ignored.

Steps To Reproduce:

Refering to this example http://vee-validate.logaretm.com/examples.html#component-example

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, May 16, 2017

thanks for your quick reply! Would be nice if you could add a quick example. Maybe others will be interested too! I attached a jsFiddle, maybe this can help.

0reactions
pymarcocommented, Sep 10, 2017

@dp-thomas I don’t understand why your fiddle doesn’t work as you want it. The input’s blur triggers emitChanged. I too would be interested in a working fiddle. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Combining ASP.NET Core validation attributes with Value ...
The main idea of this combined approach is to create your own validation attributes which will delegate the actual validation to value objects....
Read more >
Advanced Usage - React Hook Form
A custom hook can easily integrate with yup/Joi/Superstruct as a validation method, and to be used inside validation resolver.
Read more >
React form validation solutions: An ultimate roundup
This roundup is a comprehensive look at some of the most popular solutions for form management and validation in React.
Read more >
How To Use Custom Form Validation in Angular - DigitalOcean
Custom validation allows you to ensure values provided by users fit within your expectations.
Read more >
Custom Data Validation in Excel : formulas and rules - Ablebits
Learn how to use custom Data Validation in Excel with your own rules and formulas. Formula examples to allow only numbers or text...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found