Bug 225352 - Phone number is autofilled without country code inside input with type=tel
Summary: Phone number is autofilled without country code inside input with type=tel
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 14
Hardware: Mac (Apple Silicon) macOS 11
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-04 06:55 PDT by Golubov Nikita
Modified: 2021-05-05 00:59 PDT (History)
2 users (show)

See Also:


Attachments
Screenshot showing the issue (25.11 KB, image/jpeg)
2021-05-04 06:55 PDT, Golubov Nikita
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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