[Webkit-unassigned] [Bug 164219] Autofill doesn't fire change event
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 20 02:51:33 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=164219
--- Comment #7 from Karel Bilek <kb at karelbilek.com> ---
Okay. I made a small repro and I put it here
https://karelbilek.com/static/safari-repro/
The form and both its fields log all events to the textarea below.
There is a dumb POST echo at https://karelbilek.com/echo-post which replies to all POST requests with all form fields.
To reproduce:
1. first, you fill something in the form, put Submit. (This is to make Safari offer you the autofill.)
2. then, after the successful form submit, you click back.
3. you click on autofill on both the fields.
You can see that the text autofill correctly triggers change event. However, the number input autofill doesn't trigger anything. (The only thing that gets triggered are the mouse events from all the movements, but that is irrelevant here.)
Note that Chrome doesn't have this issue, because it doesn't offer autocomplete at all on number inputs. Safari does.
( This is a root cause for this svelte bug that I just reported to svelte - svelte doesn't correctly bind the number value, because it doesn't get any event triggered.
https://github.com/sveltejs/svelte/issues/10841 )
--
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/20240320/d0ad6aa5/attachment.htm>
More information about the webkit-unassigned
mailing list