Clarify what format the country
is on phone number inputs
Fixes https://github.com/matrix-org/matrix-doc/issues/1982
This commit is contained in:
parent
ae163ab818
commit
284b15495b
3 changed files with 6 additions and 2 deletions
|
@ -30,8 +30,8 @@ properties:
|
||||||
country:
|
country:
|
||||||
type: string
|
type: string
|
||||||
description: |-
|
description: |-
|
||||||
The two-letter uppercase ISO country code that the number in
|
The two-letter uppercase ISO-3166-1 alpha-2 country code that the
|
||||||
``phone_number`` should be parsed as if it were dialled from.
|
number in ``phone_number`` should be parsed as if it were dialled from.
|
||||||
example: "GB"
|
example: "GB"
|
||||||
phone_number:
|
phone_number:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Clarify the expected phone number format.
|
|
@ -1042,6 +1042,9 @@ wishes to canonicalise the phone number, then it can use the
|
||||||
"phone": "<The phone number>"
|
"phone": "<The phone number>"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
The ``country`` is the two-letter uppercase ISO-3166-1 alpha-2 country code
|
||||||
|
that the number in ``phone`` should be parsed as if it were dialled from.
|
||||||
|
|
||||||
Login
|
Login
|
||||||
~~~~~
|
~~~~~
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue