Open OlllllllO opened 6 years ago
There's an pull request open to resolve that issue: #945
Thanks @Maxim-Mazurok, will review and get back 👍
@profnandaa - hello. any update on when this feature will get merged in? thanks.
IDK why this PR wasn't merged: https://github.com/validatorjs/validator.js/pull/1084 It looks like a totally valid approach to me. There's no such thing as too many options, especially when people asked for this option... IMO
Hey, i am looking for my first contribution in open source. Can anyone guide me with this issue i would i like to work on it
Hey, i am looking for my first contribution in open source. Can anyone guide me with this issue i would i like to work on it
One option that would involve this thousands separator is to merge the allow and require options so it's not a Boolean but allows a few options. My idea would be something like; required, allowed/optional, forbidden. But feel free to suggest a different wording. This way we can reduce the total amount of options slightly and add this requested functionality. For implementation you can check out the above-mentioned PR
We're using this to help validate data that includes currency. We want to make sure that a comma separator is always present.