gouldtv
2008-May-22 05:11 UTC
Autocomplete, but allow user to type something without forcing selection from dropdown?
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? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
hosiawak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-May-22 18:12 UTC
Re: Autocomplete, but allow user to type something without forcing selection from dropdown?
On May 22, 6:11 am, gouldtv <goul...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
gouldtv
2008-May-23 03:21 UTC
Re: Autocomplete, but allow user to type something without forcing selection from dropdown?
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 May 22, 2:12 pm, "hosia...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <hosia...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On May 22, 6:11 am, gouldtv <goul...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 athttp://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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
SDB
2008-Jul-09 13:51 UTC
Re: Autocomplete, but allow user to type something without forcing selection from dropdown?
Hi I''m also looking for this, and without Ruby. Any help would be greatly appreciated. Simon On May 23, 4:21 am, gouldtv <goul...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 May 22, 2:12 pm, "hosia...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <hosia...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On May 22, 6:11 am, gouldtv <goul...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 theautocompletecode > > > 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 athttp://www.hogo.pl(justtype > > something in the Lokalizacja box). > > > The only thing stopping me from submitting the patch are broken > >Autocompletetests 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---