New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 823662 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Clicking clear button in <input type="datetime-local"> does not make input valid.

Reported by p.dobrog...@gmail.com, Mar 20 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36

Steps to reproduce the problem:
Clicking clear button in <input type="datetime-local"> (field not required) marks input as valid only the first time it's clicked. Subsequent clicks leave input invalid.

1. Enter invalid date (only month for example).
2. Press clear button (blue cross icon).
3. Enter invalid date (only month for example).
4. Press clear button (blue cross icon).

What is the expected behavior?
.validity.valid should be true

What went wrong?
.validity.valid is false

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 65.0.3325.162  Channel: stable
OS Version: Fedora 28
Flash Version:
 
This is reproducible on Windows 8.1 and Windows 10.
Clearing input using Delete or Backspace keys instead of pressing clear button makes input valid again.

Labels: Needs-Triage-M65
Cc: susan.boorgula@chromium.org
Labels: Needs-Feedback Triaged-ET
p.dobrogost@ Thanks for the issue.

Request you to provide file/URL where this issue can be reproduced which will help us in further triaging.

Thanks..
Please disregard as this is issue in AngularJS not Chromium.
The original statement is false – .validity.valid is set to true when clicking clear button.
Project Member

Comment 5 by sheriffbot@chromium.org, Mar 21 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: sindhu.chelamcherla@chromium.org
Status: WontFix (was: Unconfirmed)
AS per comment#4 this issue seems to be not related to chrome. Hence closing this issue as wont-fix.

Please feel free to raise a new issue if you feel so.

Thanks!

Sign in to add a comment