combine data-vv-value-path and data-vv-validate-on when validating custom component
See original GitHub issueVersions:
- 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:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
@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.