WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
282975
Date input field requires input after resetting value via JS
https://bugs.webkit.org/show_bug.cgi?id=282975
Summary
Date input field requires input after resetting value via JS
Stephen Reay
Reported
2024-11-12 02:03:46 PST
After clearing a date input field via JS (setting .value to '', null, or 0), attempting to submit the form forces focus back to the date input field. Performing the reset action twice before submitting "solves" the issue. A simple reproduction is available at
https://jsbin.com/pidukehave/edit?html,output
Attachments
Add attachment
proposed patch, testcase, etc.
Karl Dubost
Comment 1
2024-11-17 19:06:30 PST
Confirmed. Firefox and Chrome behaves differently.
Radar WebKit Bug Importer
Comment 2
2024-11-19 02:04:13 PST
<
rdar://problem/140186188
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug