vuelidate Questions

9

fieldName not found to vuelidate of sameAs method. sameAs(blabla) blabla = 'internalFormData.password', 'internalFormData.password.value', 'this.internalFormData.password', 'this.internalFormData...
Precatory asked 17/2, 2019 at 8:35

4

I have an array of objects with the following structure varientSections: [ { type: "", values: [ { varientId: 0, individualValue: "" } ] } ] I created a custom validation called isDupl...
Hibben asked 9/7, 2019 at 2:20

3

Greeting, i need to validate the password form In addition to the field required Must have at least one uppercase letter, lowercase letter at least, number at least one and at least one of the foll...
Gourley asked 12/4, 2020 at 19:6

3

Solved

Does Vuelidate support typescript in VueJs? If yes, how to use? I am able to use it with JavaScript.
Joselyn asked 13/1, 2020 at 18:22

3

I'm using VueJS2 with vuelidate library. I can validate the fields based on the validation objects. The validation will execute during computed time. But My validations objects is fixed, instead of...
Retral asked 12/11, 2017 at 15:54

4

Solved

I'm kinda new to vuelidate, and everything works fine, except I have no clue how to run validation only when the button Submit has been clicked. Right now it marks touched field red when you start ...
Canonicity asked 31/8, 2017 at 14:35

2

In my Vue 2.7.14 app I'm using Vuelidate 2.0.0. I'm trying to migrate a test from Jest to Vitest, but the v$ object is not initialised correctly in the latter case. The component has a checkbox bou...
Photosynthesis asked 8/12, 2022 at 17:20

2

Solved

I have a custom checkbox <checkbox v-model="form.terms_accepted" /> The true/false value toggles fine { "first_name": "", "last_name": "", "username": "", "email": "", "terms_accepted":...
Theology asked 12/10, 2018 at 13:59

2

Solved

Here is the code I have codesandbox, What I have here is a form with validation and the "Calculate" button which is disabled until all fields will be valid. But for some reason, I'm getti...
Renny asked 16/8, 2020 at 13:10

6

Solved

I am using Vue.js and I am new on it. I am currently working on validation. I had used vuelidate as my validation library. I had successfully done form validation, but trouble came when I had to ch...
Ire asked 5/7, 2018 at 22:11

1

Solved

Does anyone know any working example with the mentioned stack? I know Vuelidate is still alpha when it comes to Vue 3, but my guess is if it works with Composition API, then there should be a worka...
Lacasse asked 7/4, 2021 at 13:29

4

Solved

I am new to Vue Js and Vuelidate. Just tried to validate form input fields from a parent component like here: https://github.com/monterail/vuelidate/issues/333 Child component in the parent: <...
Tillage asked 5/12, 2018 at 8:55

2

Using Vuelidate you can reset the validation errors by using this.$v.$reset(). In this Codepen example resetting the lastName field that uses a Vuetify component works - $invalid is true while $err...
Horrify asked 30/1, 2020 at 12:32

2

So I have an issue with async validator on my email/user form element. Every time a letter is typed in, it checks for validation. If the email is 30chars, then that is over 30 calls! Anyone know th...
Zugzwang asked 19/10, 2018 at 3:42

1

Solved

In my Vue component I have 3 numeric fields, like this: data() { return { numberAdults: 0, numberChildren: 0, numberInfants: 0, } and also a computed property: computed: { numberPersons(...
Admissive asked 9/4, 2020 at 13:28

2

Solved

How to work with validations of nested components inside a parent component with Vuelidate? I would like to change parentForm.$invalid if inputs in subcomponents are valid or not. Parent: <par...
Misquote asked 24/1, 2019 at 10:8

2

How are you guys doing validations in Vuetify? I'm not able to wrap my head around very verbose validation syntax. I'm using Vuelidate and as per Vuetify's docs, here is how I'd have to implement a...
Protectionist asked 31/1, 2018 at 5:1

2

Solved

Let say I have a vue component with data like this: data: () => ({ form: { old_password: { data: '', type: 'password', label: 'Old Password', }, new_password: { data: '', type: 'passw...
Cristophercristy asked 7/5, 2019 at 2:56

1

Solved

I can't find how to check greater than 0, as minValue(0) also accepts 0, but if using minValue(1) then any decimal between 0 and 1 will be not accepted as well. Also I don't know why I can't use v...
Piling asked 29/3, 2019 at 8:39

2

Solved

I'm writing unit tests for vuelidate validation in my component. I figured out that the $touch() method is called asynchronously, so I need to use $nextTick() for the expect(). The problem appears ...
Predation asked 12/2, 2018 at 16:56

1

Solved

I am using vuelidate to validate my form input and display the error messages using vuetifyjs. I managed to do the basic object validation and am able to show the error messages. However I'm havin...
Heliotropism asked 1/7, 2018 at 14:59

1

Solved

I hope someone can clarify to me, how to properly use Vuelidate while validating Date object. I want to use the current date as a minimal date, so if a user inputs a date later, an error will be sh...
Eadie asked 19/5, 2018 at 14:19

2

Solved

I have a validator that checks if username is already registered in database. It worked fine, except for the fact, that the request was send to the server with each character entered - which is way...
Amorphism asked 8/3, 2018 at 17:44
1

© 2022 - 2024 — McMap. All rights reserved.