Closed dcworldwide closed 6 years ago
Have problems with 'same' rule as well :/
30 October 2016 and this is still a thing huh.
@robclancy would love some help if you are interested in contributing.
@skaterdav85 it legit took me the amount of time since I posted that to find how to do this. And then I see this PR https://github.com/skaterdav85/validatorjs/pull/225 which does it for the other fields and you literally just need to do a copy paste and change some text to same
.
If you can merge that PR I can make a new PR to do the copy pasting that is needed.
I just replied on that PR asking the author to add some tests since I'm not clear what those changes were for. It has been awhile since I've worked on this library and the last thing I want to do is start breaking things.
@robclancy released on 3.13.6
Issue with same:attribute rule not respecting label aliases.
Code
Error:
Label should not say aEmail.