I have a wine-tracking application I've written and I want the user to be able to start typing a producer, and have the autocomplete code display a pull-down list of options. However, if the user discovers that their wine producer is not listed in the dropdown, I'd like for them to be able to keep typing a NOT be forced to make a selection from the dropdown. Is this possible using this autocompleter library? And if so, can someone show me what parameter I'd need to change in a non-Ruby environment?
on 22.05.2008 07:12
on 22.05.2008 20:13
On May 22, 6:11 am, gouldtv <goul...@gmail.com> wrote: > I have a wine-tracking application I've written and I want the user to > be able to start typing a producer, and have the autocomplete code > display a pull-down list of options. However, if the user discovers > that their wine producer is not listed in the dropdown, I'd like for > them to be able to keep typing a NOT be forced to make a selection > from the dropdown. > > Is this possible using this autocompleter library? And if so, can > someone show me what parameter I'd need to change in a non-Ruby > environment? It's not possible at the moment but I've got a patch to make it possible. You can see a working version at http://www.hogo.pl (just type something in the Lokalizacja box). The only thing stopping me from submitting the patch are broken Autocomplete tests currently in the trunk. They're broken because some time ago madrobby committed a piece of code that changed the triggering event for autocompleter. If I find a way around it I'll submit a patch if not I'll just publish my change somewhere (hopefully soon). -- Best Karol Hosiawa
on 23.05.2008 05:22
wow - - - that's EXACTLY what I want to do! Is this patch something that will work with the native scriptalicious libaries, or would I need Ruby to make this work? - Rob
on 09.07.2008 15:52
Hi I'm also looking for this, and without Ruby. Any help would be greatly appreciated. Simon