I have rails 7 app where I’m trying to build a search bar using either tom-select or slim-select. My issue reproduces no matter which library I’m using therefore it must be the issue on my rails side. app/views/cities/index.html.erb and this is my js controller (in this case I’m using tom-select) app/javascript/controllers/ts/search_controller.js app/controllers/cities_controller.rb Problem Repro: Open cities index and click on
Tag: ruby-on-rails-7
Bootstrap 5 Javascript Functions not Working in Rails 7 app
I’m trying to set up my first Rails 7 app and have installed Bootstrap 5 properly (you can see by the CSS) and gotten rid of all the error messages, but the javascript functions (i.e. dropdown menus, offcanvas, etc.) aren’t working. I have tested it with this code: And both console.log statments produce the correct result, leading me to believe