Dobromir Hristov
Dobromir Hristov
Please give a better explanation to your issue.
You want to validate whether an array has repeating items? If so, then a custom validator function would be best
If this is resolved, please close the ticket.
Sorry but that wont work ofc, $each can be used to validate properties on the objects in the array, but they should be there in the first place. For such...
I think we can make an extra package with various validators, so the base package is as clean as possible. This way it would be easier to contribute.
You could add a top level validator? ``` collection: { required, $each: { required } } ``` This way, the `collection` must include elements.
We use this regex to parse emails - https://emailregex.com/index.html From the looks of things, our regex is a bit outdated and on their website `[email protected]` is not valid. Using square...
Yeah, pushing things into the array, causes all validators to evaluate, thus causing those updates on the computed as the prop receives a new object. `$each` has a very complicated...
@shentao I looked into this and if the rules are defined as `computed` or `data` properties and passed to the `WithVuelidate` wrapped component, there is no recursion issue. But applied...
I think it's just a problem with applying a watcher to a reactive prop, defined in the template. I did something similar today, but with array.reverse in the template. Threw...