# Autocompleter - get rid of default selection?

**URL:** <https://www.ruby-forum.com/t/autocompleter-get-rid-of-default-selection/128527>\
**Category:** Rails\
**Created:** [February 8, 2008, 1:07pm UTC](https://www.ruby-forum.com/t/autocompleter-get-rid-of-default-selection/128527 "2008-02-08T13:07:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andig](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9d8465/32.png) [@andig](https://www.ruby-forum.com/u/andig)\
**Post date:** [February 8, 2008, 1:07pm UTC](https://www.ruby-forum.com/t/autocompleter-get-rid-of-default-selection/128527/1 "2008-02-08T13:07:46Z")

</div>

Running Scriptaculous 1.8.1 I’m experiencing an issue with the  
autocompleter.

As part of a search page, I’ve added and autocomplete field. During  
entering text, the first entry in the autocomplete list is  
automatically selected- once the user hits enter (regardless if that  
is the entry he’s looking for or not), the form is submitted.

I’m looking for a way to not have any autocompletion entry selected by  
default- instead I want the user be able to do that by using “cursor  
down” initially to actually step into the dropdown list.

Thought that the “autoselect” property of the Autocompleter did  
control that but apparently doesn’t.

Any ideas?

Thanks,  
Andi
