New issue
Advanced search Search tips

Issue 607096 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 619837
Owner:
Closed: Jun 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug



Sign in to add a comment

If the select box(dropdown) option were emptied dynamically but it still shows the option in the select box.after click on it option will goes off.

Reported by nameisna...@gmail.com, Apr 27 2016

Issue description

Chrome Version: <From about:version: Google Chrome 50.0.2661.87 m>
Chrome OS Version: <From about:version: Platform windows 7>
<b>Chrome OS Platform: <Make/model of computer running Chrome OS></b>
<b>Network info: <network, encryption type, router model (if known)></b>

Please specify Cr-* of the system to which this bug/feature applies (add
the label below).

Steps To Reproduce:
(1)create a html select box with options in it.
(2)use jquery or javascript to empty the options in the select box.
(3)option elements will be removed from the select element but still in UI option will present once click on the that it will goes off.

Expected Result:
It should display the option in the select box.

Actual Result:

How frequently does this problem reproduce? (Always, sometimes, hard to
reproduce?)


always

What is the impact to the user, and is there a workaround? If so, what is
it?

If two select boxes were there which one shows the country and the other shows the states in it then if treat country has no state still second select box will shows the old states in it.

Please provide any additional information below. Attach a screen shot or
log if possible.

https://jsfiddle.net/kantamneninaresh/rq9wvs9L/

find the example on the above link.

 
Expected Result:
It should *********not****** display the option in the select box.
Components: UI UI>Input>Text
Components: Blink>Input
Labels: -Pri-3 -OS-Chrome OS-All Pri-2

Comment 4 by bokan@chromium.org, Jun 9 2016

Components: -UI -UI>Input>Text -Blink>Input Blink>Forms>Select

Comment 5 by tkent@chromium.org, Jun 10 2016

Labels: Needs-Feedback
> https://jsfiddle.net/kantamneninaresh/rq9wvs9L/

Looks it works well.  When I change the option in the first SELECT, the second select box becomes empty.

nameisnaresh@, do you still have the problem?

Comment 6 by tkent@chromium.org, Jun 15 2016

Mergedinto: 619837
Owner: tkent@chromium.org
Status: Duplicate (was: Unconfirmed)
 Issue 619837  looks the same issue, and has a reproducible HTML.

Sign in to add a comment