2

I want to use the autocomplete function in jquery-ui in a RAILS 6 application.

So I followed this guide : gist.github.com/.../#jquery-jquery-ui

I was able to run rails assets:precompile.

When I start the RAILS server in production mode and check the browser console, I see this error: jQuery.Deferred exception: $(...).autocomplete is not a function

So this javascript pack is no correct bundled by webpacker.

Any idea ?

0