Users can delete the Calendar button with Backspace
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: rdoghi, Assigned: ayeddi)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
Found in
- 109.0a1 (2022-12-08)
Affected versions
- Firefox Nightly 109.0a1 (2022-12-08)
Affected platforms
- Ubuntu, Mac, Windows
Steps to reproduce
- Reach url: data:text/html,<input type='datetime-local'>
- Reach the Calendar button using keyboard navigation.
- Hit the Backspace button while focused on the Calendar button.
Expected result
- The selected date should be deleted.
The Calendar button should not disappear from the Datepicker.
Actual result
- Hitting the Backspace button while on the Calendar button will cause it to disappear.
Regression range
This issue is not a regression.
Assignee | ||
Comment 1•2 years ago
|
||
The user should not be able to remove the Calendar button with Backspace
, I'll send a patch for that.
The first part of the expected behavior - The selected date should be deleted.
- is to be decided by the Layout team, if this functionality is expected for Backspace
while on Calendar button or not under a separate bug, if that's okay.
Assignee | ||
Comment 2•2 years ago
|
||
Prevent removing a Calendar button when a Backspace
is pressed while it's focused for <input type=date>
and <input type=datetime-local>
.
This patch does not add cleaning the entire field as this is to be decided under a separate enhancement bug 1806587
Updated•2 years ago
|
Comment 4•2 years ago
|
||
bugherder |
Reporter | ||
Comment 5•2 years ago
|
||
This issue is Verified as fixed in our latest build 110.0a1 (2022-12-21).
Comment 6•2 years ago
|
||
The patch landed in nightly and beta is affected.
:ayeddi, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox109
towontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•2 years ago
|
Description
•