Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
Adding postal code constraint and example for Mayotte.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamEAP committed Dec 30, 2014
1 parent f930195 commit f28b0ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/addressfield.json
Original file line number Diff line number Diff line change
Expand Up @@ -5714,7 +5714,9 @@
"locality": [
{
"postalcode": {
"label": "Postal code"
"label": "Postal code",
"format": "^976\\d{2}$",
"eg": "97600"
}
},
{
Expand Down

0 comments on commit f28b0ac

Please sign in to comment.