N
N
nextGen2019-12-16 16:30:48
Working with date/time
nextGen, 2019-12-16 16:30:48

How to compare 2 dates in vuelidate?

There are 3 dates in the object, the 3rd date must be earlier than the 1st, the 2nd after the 1st. This needs to be scrapped. Can't access anything, not $v, not this.$v, not this inside the custom validation function.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-12-16
@nextGen

https://codesandbox.io/s/vuelidate-simple-error-di...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question