Closed
Bug 286722
Opened 20 years ago
Closed 20 years ago
Wrong item in dropdown is selected when using "Back" button, if multiple items in dropdown have same value
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 182157
People
(Reporter: d.stowell, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 See the example I've given. By default the first option is chosen, and this option has the same data in its "value" attribute as another entry much lower down the list. If you keep the first option selected, and press "Submit", then use your "Back" button to return to the form, you'll see that the first option is no longer selected - instead, the one much further down is selected. I believe this is correct use of the SELECT / OPTION tags - there's no reference that I can find that says multiple OPTIONs can't take the same value. Reproducible: Always Steps to Reproduce: 1. Create form with SELECT item. 2. More than one OPTION within this SELECT has the same data in its "value" attribute. 3. Submit form. 4. Use back button. Actual Results: A different item from the one I'd chosen was selected. Expected Results: Left the selection exactly as I entered it.
Updated•20 years ago
|
Assignee: bugs → nobody
Component: Form Manager → History: Session
Product: Firefox → Core
QA Contact: form-manager → history.session
Version: unspecified → Trunk
*** This bug has been marked as a duplicate of 182157 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
You need to log in
before you can comment on or make changes to this bug.
Description
•