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.

Object format and validateAll

See original GitHub issue

Using the object format in v-validate (v-validate="{ rules: { regex: /^[\w+.-]+@([\w+.-]+\.)+[A-Za-z]{2,6}$/}}") the validateAll() method doesn’t validate the fields. If I use v-validate:"'email'" everything works fine.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
marcelombccommented, Jan 25, 2017

@logaretm Custom Component Validation is working like a charm with the beta 20. Thank you so much for your update.

0reactions
logaretmcommented, Jan 25, 2017

@marcelombc No problem.

beta.20 should fix the component validation issue, It wasn’t updated yet on the docs. should be working now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ajv options - Ajv JSON schema validator
This page describes properties of the options object that can be passed to Ajv constructor. For example, to report all validation errors (rather...
Read more >
Validating Data With JSON-Schema: Part 1 - Code
In this series, you'll learn how to use JSON-Schema to validate data.
Read more >
Wiremock: how to validate ALL objects in an array
1), I want to verify a request with its body holding an array of objects, containing optional properties. For instance, consider this request:....
Read more >
Dynamic type validation in TypeScript - LogRocket Blog
A nice rule of thumb to follow is: Validate all the external sources of your application. External sources are everything that is external...
Read more >
How to validate all form fields on click of button using ...
I have 2 fields in markup and a button of Upload. On click of Upload, I want to validate that these fields are...
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