-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customise postcode validation #784
Comments
If the patterns are wrong then I'd be happy to accept a PR with a fix. |
@chriso Thanks for the quick feedback :) I want to use the custom post code doesn't mean the pattern currently using is wrong. The requirement of my project is to only accept one space within the UK's postcode, but some case might want to keep it optional. |
How can I get IE support added? |
- add postal code for ireland as requested by @JoeEarly from issue validatorjs#784 - fixes request done on issue validatorjs#784
@JoeEarly I have added IE support for postal code and the PR is up for review. Cc. @profnandaa. |
- add postal code for ireland as requested by @JoeEarly from issue validatorjs#784 - fixes request done on issue validatorjs#784
I can see there is a pattern list for the postal code of different countries embed in this library. And I find some other issue raised to update the list. I faced a similar issue in my project that some of the patterns there does not meet the requirement. It would be great if we can override some of the patterns.
The text was updated successfully, but these errors were encountered: