Bug 225352

Summary: Phone number is autofilled without country code inside input with type=tel
Product: WebKit Reporter: Golubov Nikita <neekitkah>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: cdumez, wenson_hsieh
Priority: P2    
Version: Safari 14   
Hardware: Mac (Apple Silicon)   
OS: macOS 11   
Attachments:
Description Flags
Screenshot showing the issue none

Description Golubov Nikita 2021-05-04 06:55:10 PDT
Created attachment 427658 [details]
Screenshot showing the issue

When I autofill phone number from my personal Mac OS contact card into input with type "tel", phone is inserted without country code.
E.g. +7 (999) 111-22-33 becomes 9991112233 (see attachment)

Input HTML:
<input type="tel" name="phone" required>

CodePen example: https://codepen.io/nekitk/pen/JjWPEmd
Comment 1 Alexey Proskuryakov 2021-05-04 12:55:57 PDT
Autofill is a Safari feature, not a WebKit one. Could you please report this to Apple via https://feedbackassistant.apple.com?
Comment 2 Golubov Nikita 2021-05-05 00:59:45 PDT
(In reply to Alexey Proskuryakov from comment #1)
> Autofill is a Safari feature, not a WebKit one. Could you please report this
> to Apple via https://feedbackassistant.apple.com?

Sure, thanks!

https://feedbackassistant.apple.com/feedback/9097234