New issue
Advanced search Search tips

Issue 700841 link

Starred by 0 users

Issue metadata

Status: Duplicate
Merged: issue 700842
Owner: ----
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

input does not fire onchange event for a previously entered value which was dynamically changed when hitting ENTER

Reported by jammoul....@gmail.com, Mar 13 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce the problem:
1. User enters "A" in input type="text"
2. User hits ENTER key 
2. onchange handler dynamically sets input's value to "B"
3. User enters "A" back again in the input (NOTE: re-entering any value other than "A", which was previously entered, will not reproduce the problem) 
4. Users hits ENTER
4. onchange event is not fired

What is the expected behavior?
As other browsers behave (including Safari, Firefox, and IE), the onchange event should be fired even if the user re-enters a previous value.

What went wrong?
The onchange event is not fired when the user re-inputs the previously entered value with ENTER key.
Attached is a simple my-input.html which reproduced the problem with 2 types of inputs.

Did this work before? N/A 

Chrome version: 56.0.2924.87  Channel: stable
OS Version: OS X 10.12.3
Flash Version:
 
my-input.html
1.4 KB View Download
demo.mov
5.4 MB Download

Comment 1 by meh...@chromium.org, Mar 13 2017

Mergedinto: 700842
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment