Files
iD/data/phone-formats.json
Peter Dobratz 2d9327c5b9 phone placeholder from country being edited
Prefer to pull in phone placeholder text based on the country currently
being edited.  Fallback to using placeholder text based on user’s
locale settings.

rename phone placeholders to phone formats

add Germany example phone number

See [German Wikipedia article
E.123](https://de.wikipedia.org/wiki/E.123)

check for null in focus

check that input.node() is not null in i.focus()
2016-05-12 14:13:35 -04:00

53 lines
1.4 KiB
JSON

{
"us": "+1-202-555-1234",
"ca": "+1-226-555-1234",
"bs": "+1-242-555-1234",
"bb": "+1-246-555-1234",
"ai": "+1-264-555-1234",
"ag": "+1-268-555-1234",
"vg": "+1-284-555-1234",
"vi": "+1-340-555-1234",
"ky": "+1-345-555-1234",
"bm": "+1-441-555-1234",
"gd": "+1-473-555-1234",
"tc": "+1-649-555-1234",
"ms": "+1-664-555-1234",
"mp": "+1-670-555-1234",
"gu": "+1-671-555-1234",
"as": "+1-684-555-1234",
"sx": "+1-721-555-1234",
"lc": "+1-758-555-1234",
"dm": "+1-767-555-1234",
"vc": "+1-784-555-1234",
"pr": "+1-787-555-1234",
"do": "+1-809-555-1234",
"tt": "+1-868-555-1234",
"kn": "+1-869-555-1234",
"jm": "+1-876-555-1234",
"za": "+27 11 907 1111",
"nl": "+31 42 123 4567",
"fr": "+33 1 23 45 67 89",
"es": "+34 989 12 34 56",
"pt": "+351 211 123456",
"fi": "+358 40 123 4567",
"hu": "+36 1 123 45 67",
"hr": "+385 01 123 4567",
"si": "+386 31 123 4567",
"it": "+39 01 123 456",
"va": "+39 01 123 456",
"gb": "+44 207 123456",
"gg": "+44 207 123456",
"im": "+44 207 123456",
"je": "+44 207 123456",
"se": "+46 31 123 4567",
"no": "+47 22 12 34 56",
"sj": "+47 22 12 34 56",
"pl": "+48 42 123 4567",
"de": "+49 89 1234567",
"br": "+55 11 0982 1098",
"ru": "+7 495 1234567",
"kz": "+7 495 1234567",
"vn": "+84 1 234 5678",
"hk": "+852 12345678"
}