jhund / filterrific

Filterrific is a Rails Engine plugin that makes it easy to filter, search, and sort your ActiveRecord lists.
http://filterrific.clearcove.ca
MIT License
910 stars 124 forks source link

Uncaught TypeError: $(...).filterrific_observe_field is not a function #120

Open sjcliu opened 7 years ago

sjcliu commented 7 years ago

I have been using filterrific gem in my Rails application with success. Suddenly, I started getting the following error:

Uncaught TypeError: $(...).filterrific_observe_field is not a function

My filtering functionalities are still working, but due to the above JS error, my layouts are broken. I searched on the internet, but found nothing to solve this issue.

How this issue can be solved? Please help!

gmcquistin commented 6 years ago

It could be that you have a newer version of jQuery in your JS bundle. This gem requires jQuery version 1, anything later than that won't work. You can check in the browser to see which version is loaded using $().jquery

bacancy-sahil commented 1 year ago

Did anyone get the solution for this? @jhund