[Webkit-unassigned] [Bug 248894] New: Autocomplete suggestion above the keyboard fails to autocomplete when attempting to fill multiple different fields.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 7 11:11:30 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=248894

            Bug ID: 248894
           Summary: Autocomplete suggestion above the keyboard fails to
                    autocomplete when attempting to fill multiple
                    different fields.
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: odinman08 at me.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

Created attachment 463926

  --> https://bugs.webkit.org/attachment.cgi?id=463926&action=review

steps showing the bug and expected result.

It appears the name attribute for fields also needs to not include "birthday" example "day" keyword in them to reproduce. 
- Visit https://codepen.io/kaplag/pen/GRGzZEX…
- tap into email field
- tap an email in the "suggestions" bar above keyboard (not the autoFill contact button)
- observe autofill works

- focus moves to "month" field. Tap the birthday in the "suggestions" bar above the keyboard.
- observe the fields do not autocomplete.

Given that the fields have appropriate autocomplete attribute values when tapping the autofill suggestion bar then it fills all related fields with the data 

workaround includes "birthday" in name attributes. example "birthday-day"
https://codepen.io/kaplag/pen/KKerpVV

I'm speculating that there's some conflict with the standard autocomplete attribute and Safari's own logic to predict fields that could be autofilled.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221207/afd4870d/attachment.htm>


More information about the webkit-unassigned mailing list