I do get a request to the browse action when I click on the form field, but
only once, it is not kept alive as I type.
If I click off the field and then back on, it will send a request with
what ever I typed before.
Maybe a jquery issue? I'm poking on it today.
On Wednesday, December 31, 2014 12:45:52 AM UTC-7, Sergio Cambra wrote:
>
> Do you get requests to browse action on server or network tab of web
> inspector?
>
>
>
> El Martes, 30 de diciembre de 2014 16:27:29 coalex escribió:
>
> > Hey Serg,
>
> > I wanted to have an autocomplete field on a few forms where the drop
> downs
>
> > are getting too long.
>
> > So...
>
> > I got recordselect working, but the list of options do not dynamically
>
> > update as I type in the form field.
>
> > There are no obvious errors in the console.
>
> > Any ideas, Thank you!!
>
> >
>
> > Started GET "/locationtypes/browse?search=" for 127.0.0.1 at 2014-12-30
>
> > 17:22:05 -0700
>
> > Processing by LocationtypesController#browse as */*
>
> > Parameters: {"search"=>""}
>
> > (1.0ms) SELECT COUNT(*) FROM "locationtypes"
>
> > Rendered
>
> >
> .../gems/recordselect-d5ed9fff0efc/app/views/record_select/_search.html.erb
>
> > (1.0ms)
>
> > Locationtype Load (2.0ms) SELECT "locationtypes".* FROM "locationtypes"
>
> > ORDER BY name LIMIT 12 OFFSET 0
>
> > Rendered
>
> > .../gems/recordselect-d5ed9fff0efc/app/views/record_select/_list.html.erb
>
> > (5.0ms)
>
> > Rendered
>
> >
> .../gems/recordselect-d5ed9fff0efc/app/views/record_select/_browse.html.erb
>
> > (17.0ms)
>
> > Completed 200 OK in 83.0ms (Views: 73.0ms | ActiveRecord: 5.0ms)
>
> >
>
> > Rails 3.2.17
>
> > active_scaffold (3.3.3)
>
> > recordselect 3.4.3 from git://github.com/scambra/recordselect.git (at
>
> > master)
>
> > jquery-rails 3.0.4
>
> > jquery-ui-rails 4.1.0
>
>
>
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.