Dobromir Hristov
Dobromir Hristov
Technically that version of Vuelidate will no longer be developed. But I suppose we can patch this up. Care to make a PR?
You can use the error extractor as just a data provider to extract the error for a certain field for you. Adding a generic method is not as easy as...
https://dobromir-hristov.github.io/vuelidate-error-extractor/multi_error_extractor.html#usage :)
Hmm I see what you mean. Was planning to extract the logic for extracting errors without templates, but its generally just used for viewing, so its still "pending".
I get what you mean. I have plans to extract those helpers, just been super busy lately.
This is not really a Vuelidate issue, more of a vue-demi thing, that I hope they fix. Feel free to add a PR to the docs, where you see fit...
Oh yeah, sorry about that. Would you mind making a PR?
It uses to be required for registering the name of the validator for the withParams function. Now it's no longer a necessity.
If we look at `isNaN`, it says `10.` is fine, but does not like `.`. Not sure what to do about it honestly, no one has put this up as...
@sarkariajatt technically, if you pass a function to the `requiredIf` validator, it will give you the current value as first param, and its top level siblings as a second param....