New issue
Advanced search Search tips

Issue 710949 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 706370
Owner: ----
Closed: Apr 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Onchange event doesn't fire if javascript changes text box value while having focus and user types original value back

Reported by slync...@gmail.com, Apr 12 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce the problem:
1. Create textbox with onchange event 
2. Have textbox be updated through javascript while in textbox
3. Without leaving control the previous value for textbox back in and tab out
4. No onchange event is fired
Here is a JSFiddle of the issue
https://jsfiddle.net/4muj53d0/6/

What is the expected behavior?
On change event is raise 

What went wrong?
The onchange event does not execute if the value is typed back in. But does get raised if value set through javascript is typed back in

Did this work before? N/A 

Chrome version: 57.0.2987.133  Channel: stable
OS Version: 10.0
Flash Version:
 
Components: -Blink Blink>Forms

Comment 2 by tkent@chromium.org, Apr 13 2017

Mergedinto: 706370
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment