recurring_select is a gem that makes recurring events easy to select in a popup form. Demo here: http://recurring-select-demo.herokuapp.com/
(gitgub: https://github.com/GetJobber/recurring_select, see also GoRails cast on using it https://gorails.com/episodes/recurring-events)
The problem I've experienced is in including the js.coffee, and js.coffee.erb assets into my app
Following the instructions to require assets doesn't work e.g. in application.js: //= require recurring_select
I had limited success by making a change so that coffeescript files could be included and I copied the file in directly. This makes the popup appear (as seen in the image below), but it is missing but the remaining js.coffee.erb which provides the dialog (red box in image)
Any recommendations and workaround suggestions would be greatly appreciated
My files as per the gem instructions:
Application.js
...
require("trix")
require("@rails/actiontext")
require('./calendar/create_booking.js')
//= require recurring_select
//= require jquery-mobile-rs
...
Application.scss
...
@import 'tippy.js/dist/tippy.css';
@import 'flatpickr/dist/flatpickr.css';
//= require recurring_select
//= require jquery-mobile-rs
...
