All Questions
Tagged with jquery-ui ruby-on-rails
495
questions
0
votes
1
answer
163
views
Rails 7: onclick javascript issue
I need some help with the issue bellow...
This is the setup I have: Rails 7.0.5, ruby 3.0.0p0.
I have installed bootstrap 5.
Also I have installed jQuery and jQuery-ui according to this https://...
0
votes
0
answers
708
views
How to add horizontal scroll in kanban board that made using jQuery-UI sortable
I created a kanban board using Ruby on Rails and jQuery-ui sortable. In this kanban board user can drag and drop tickets into individual columns according to its status.
Screenshot:
I want vertical ...
0
votes
1
answer
84
views
Rails Best In Place date initial date format
I'm really new to Rails and I'm using v6.1.4. In my application I'm using I18n localization. At other places for view-only label dates(not using BIP) I use
<%=l @client.active_date.to_date %>
...
0
votes
1
answer
509
views
Uncaught TypeError: $(...).sortable is not a function in Rails 6
Strugle alot but couldn't solve this problem. It been nightmare for me. I am using rails 6. and jquery ui "jquery-ui": "^1.13.0". I have added gem gem 'acts_as_list' and added ...
2
votes
1
answer
3k
views
How to use jqueryUI in a rails 6 or rails 7 alpha engine
I would be grateful if someone could show the exact steps needed to use jquery ui in a rails 6 or rails 7 Alpha 2 engine.
I have been unable to get either importmap-rails to work in a rails 7 engine ...
0
votes
1
answer
177
views
rails 6 jquery not working in production error says $ isn't defined
I'm getting the error $ isn't defined in production only The error doesn't occur in development and $ is defined in config/webpack/environment.js
const { environment } = require('@rails/webpacker')...
0
votes
1
answer
147
views
rails 6 / webpacker tooltip and popover event listeners TypeError: $(...).tooltip is not a function
I'm getting the error TypeError: $(...).tooltip is not a function If I comment out tooltip only, then I get the same error for popover(is not a function) I had to remove the event listeners from ...
6
votes
1
answer
555
views
How to use JQueryUI in views in Rails 6
I am having difficulty using JQuery and JQueryUI in a Rails 6 app.
JQuery and JqueryUI both work in application.js
HOWEVER, JQueryUI is not working in views. How do I make it work in both cases? My ...
2
votes
1
answer
268
views
jquery-ui sortable - moving tasks between lists
I'm trying use jquery-ui sortable connected lists and persist sorting changes in a Rails app.
Lists have many tasks.
Lists can be sorted among each other - works.
Tasks can be sorted among each other ...
0
votes
1
answer
286
views
How to include jquery-ui in Rails 6 project?
I'm using Rails 6.0.3.2 and jquery-ui 1.12.
Still can't make it work:
Uncaught TypeError: $(...).datepicker is not a function
Tried:
I. Editing config/webpack/environment.js
Last version:
environment....
0
votes
1
answer
947
views
RAILS rails assets:precompile fails
I have RAILS 6.0.3 running, so I use the webpacker.
When I try to compile the assets with rails assets:precompile in RAILS deveopment mode it runs very well, but when I try to run it in RAILS ...
0
votes
2
answers
855
views
Make jQuery UI global functions available with webpack in Rails 6
The jQuery UI has handy functions that are available globally, e.g. Sine, Circ, Elastic, Back, Bounce etc. However when including jQuery UI using webpack, the global functions become unavailable. ...
0
votes
1
answer
327
views
Jquery-ui Datepicker not showing in rails view, got error Uncaught TypeError: $(...).datepicker is not a function
Datepicker from jquery-ui doesn't show up in my view.
application.js
require('jquery');
require("jquery-ui/ui/widgets/datepicker");
environment.js
const webpack = require('webpack')
environment....
0
votes
2
answers
228
views
sorting UI for ranked-model gem
I'm trying to make a sorting UI work with gem ranked-model.
Gemfile:
gem 'ranked-model'
gem 'jquery-ui-rails' #for drag-and-drop
application.js:
//= require jquery-ui/widgets/sortable
lesson.rb:
...
9
votes
8
answers
15k
views
Rails 6: How to add jquery-ui through webpacker?
I'm currently trying to implement a datepicker into my application, the problem is that there is no documentation on how to add the jquery-ui-rails gem through webpacker.
Probably there is another ...