Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble with Turbolinks 5... #88

Open
duffyjp opened this issue Aug 10, 2017 · 0 comments
Open

Trouble with Turbolinks 5... #88

duffyjp opened this issue Aug 10, 2017 · 0 comments

Comments

@duffyjp
Copy link

duffyjp commented Aug 10, 2017

I'm having a new issue, starting with Turbolinks 5. The autocomplete lookup part works fine, but the form itself won't submit with either Enter or clicking Submit. Reloading the page makes it work as expected.

Here's how to replicate it:

  1. View a page with anautocomplete_field
  2. Click a link to another page with another autocomplete_field
  3. That field's form is now broken
  4. Refresh page
  5. Form works.

Refresh and it works => Turbolinks issue in my experience. :)


rails (= 5.0.3)
jquery-rails (4.3.1)
jquery-tablesorter (1.23.15)
jquery-ui-rails (6.0.1)
rails-jquery-autocomplete (1.0.3)
turbolinks (5.0.1)
turbolinks-source (5.0.3)

application.js.coffee

#= require jquery2
#= require jquery_ujs
#= require turbolinks
#= require jquery-ui/widgets/autocomplete
#= require jquery-ui/widgets/datepicker
#= require jquery-ui/widgets/sortable
#= require jquery-tablesorter
#= require foundation
#= require best_in_place
#= require autocomplete-rails
#= require rails-timeago
#= require highcharts/highstock
#= require highcharts/highcharts-more
#= require trix
#= require_self
#= require_tree .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant