We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Project: https://github.com/thiaguerd/materialize_turbolink_select_bug
I have a select on page http://localhost:3000/home/about
when I come to page using browser button back or next a select bug, duplicate himself a each time that I a go in page
The text was updated successfully, but these errors were encountered:
if you do something like this ?
<script type="text/javascript"> $(document).on('turbolinks:load',function(){ $('select').formSelect(); }) </script>
you have written 2 times the same command ....
if you use jquery and turbolinks you have to replace $(document).ready(....) by $(document).on('turbolinks:load',function(){ /* your code */ })
jc
Sorry, something went wrong.
Sorry, was a test. I forgot to remove Using only
$(document).on('turbolinks:load',function(){$('select').formSelect();})
Not work
Using only
$(document).ready(function(){$('select').formSelect();});
Not work too
I try everything, believe me...
No branches or pull requests
Project: https://github.com/thiaguerd/materialize_turbolink_select_bug
I have a select on page http://localhost:3000/home/about
when I come to page using browser button back or next a select bug, duplicate himself a each time that I a go in page
The text was updated successfully, but these errors were encountered: