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

Golubov Nikita
Reported 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
Attachments
Screenshot showing the issue (25.11 KB, image/jpeg)
2021-05-04 06:55 PDT, Golubov Nikita
no flags
Alexey Proskuryakov
Comment 1 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?
Golubov Nikita
Comment 2 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
Note You need to log in before you can comment on or make changes to this bug.