validate
Here are 336 public repositories matching this topic...
Versions
- vee-validate: 3.1.3
- vue: 2.6.10
- vue-jest: 3.0.5
- @vue/test-utils: ^1.0.0-beta.31
Describe the bug
I have a BaseInput.vue component which has one default <slot></slot> wrapped in a <validation-provider>. When it has errors it will show the error message inside a <div class="error-message"></div>.
But, in my tests, when I pass a <input> to the default slo
I download the ZIP and run npm install but then I run expo start and I get:
[11:17:11] Starting project at /Volumes/Sata/repositories/snowflake copy
[11:17:12] Expo DevTools is running at http://localhost:19002
[11:17:12] Error: Missing app.json. See https://docs.expo.io/
[11:17:12] No Expo configuration found. Are you sure this is a project directory
How I solve this?
Th
Hi,
How can we use this package in the validate method of mongoosejs? (like validator.js or @hapi/joi)
const mongoose = require('mongoose');
const validator = require('validator');
const userSchema = new mongoose.Schema({
name: {
type: String,
required: [true, 'A tour must have a name'],
validate: [validator.isAlpha, 'name must only contain characters']
},
pAdd Unit tests
The current code coverage is very low, we need to add more unit tests.
-
Updated
Apr 30, 2020 - JavaScript
According to the Mongoose arrays documentation, an array default value is possible.
But in schm, when array of schema is validatate, the default value is always an empty array.
Inspired example from Mongoose
const ToySchema = schm({ name: String });
const ToyBoxSchema = schm({
toys: {
type: [ToySchema],
defaul-
Updated
Apr 16, 2020 - JavaScript
Current docs are imho mainly incomplete - lack of thorough code examples, and more informative descriptions.
I.e. how can I add multiple functions to conditional property for many outcomes of some data-validate, to use many validation error messages, not just single per property (i.e. required, pattern, conditional)?
-
Updated
Jun 24, 2020 - Go
-
Updated
Jun 25, 2020 - PHP
Improve JsDoc
-
Updated
May 4, 2020 - JavaScript
-
Updated
Mar 20, 2019 - Shell
-
Updated
Jan 7, 2020 - JavaScript
-
Updated
Jan 19, 2020 - JavaScript
-
Updated
Jan 1, 2017 - HTML
-
Updated
Feb 10, 2020 - C#
-
Updated
Aug 5, 2019 - Python
-
Updated
Oct 21, 2019 - Python
-
Updated
Dec 8, 2019 - JavaScript
-
Updated
Mar 24, 2020 - JavaScript
-
Updated
Jul 1, 2020 - Java
-
Updated
Apr 17, 2020 - TypeScript
Improve this page
Add a description, image, and links to the validate topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the validate topic, visit your repo's landing page and select "manage topics."
e.g.
isPassportNumber, etc.