Hello.
I'm using the Autocompleter to display suggestions when the user enters
text in an input field. Sometimes the user wants to add text that is not
among the suggestions but that is the prefix of one of the suggested
entries. What's the best way to accomplish this (the problem is, that
the first matching entry is selected automatically and can't be
deselected)? Maybe something like Firefox's URL suggestions would be
fine, where only matching URLs are displayed, but the user still has to
press DOWN to select one of the suggestions (and when pressing ESC the
suggestions disappear, but the entered text is not deleted).
There's another thing I'd like to use, but am not sure if it's possible:
As soon as the input field is active, a list of suggestions is displayed
even if the user has not yet typed anything and the input field is empty
(of course the suggestions cannot be based on prefix matching in this
case, but I display the "best" suggestions for the corresponding item).
Currently I use a slightly patched version of controls.js that uses a
value of 0 for minChars, but this looks like a hack to me.
Maybe I am missing something and these things are already possible with
the current version of Scriptaculous? If it is not, could something of
this be a feasible enhancement request?
Regards,
jojo.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs