Closed Bug 175597 Opened 22 years ago Closed 21 years ago

pressing enter when an autocomplete list is open shouldn't submit the form

Categories

(Firefox :: Address Bar, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME
Future

People

(Reporter: timeless, Assigned: hewitt)

Details

i was filling out a keywords list:
crash
crash, topcrash

i wanted to select crash (it might not have been in my list, i can't remember)
so either focus was in the complete or it was in the text area. either way
pressing enter when the autocomplete list is visible should dismiss the list,
not submit the form.
WFM.  If I just press enter, Phoenix submits the form.  If I use the down arrow
key to get into the autocomplete list, Phoenix dismisses the autocomplete list
and puts the caret after the end of the item in the autocomplete list.
Comment #1 describes the way autocomplete has always worked--till now.  I have
just upgraded from Optimized 7/2 to Optimized 7/17.  I always used the down
arrow to select from the dropdown list, but with 7/17 I can't do that.  The down
arrow now automatically selects the first item on the list.  That is not good.

I see that the problem I described in comment #2 has been reported in bug #212686.
Target Milestone: --- → After Firebird 1.0
Taking QA. Sorry for the bugspam
QA Contact: asa → davidpjames
WFM. Jesse reported it WFM last October. Neil's issue has been marked fixed in
the other bug. Can we close this?

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030728 Mozilla
Firebird/0.6.1
That makes 4 WFMs, including myself. Resolving as such.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
verified.
Status: RESOLVED → VERIFIED
I see this bug with FireFox 1.0 on this page :
https://artemis.siol.net/servicePages/validate-login.sp

 - visit the page
 - focus the first text input ("Uporabnisko ime")
 - press cursor down, so that an autocomplete list appears
 - select an item (with curso up/down keys )
 - press ENTER to make the selecteion and make the list disappear

Result : Form is submitted. ( and returns an error, as I did not enter a valid
password in the second input field )

Expected : the autocomplete item is selected and entered into the text input,
form is NOT submitted.
(adding myself to CC, sorry I always forget this)
You need to log in before you can comment on or make changes to this bug.