Modified the canonicalization proposal above to include removing "-". So, `+1 800 555-555` becomes "+1800555555". We could be stricter tho with input into the API.
Additionally, `PaymentAddress` would need to sprout two static methods:
* `boolean isValidPhoneNumber(DOMString tel);`
* `DOMString canonicalizePhoneNumber(DOMString tel);`
We should also look at historical discussion around `<input type=tel>`, as HTML opted not to enforce any structure. cc @sideshowbarker
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/653#issuecomment-344526897