You’re not receiving notifications from this thread.
Need to do cascading select lists in Rails 5
Struggling with this one....
Quite a few articles around but most quite old, really would like to use Stimulus but I cant find any pointers.
Have a locations Select.
One a selection is made I want a AJAX style population of the rooms Select where each location has_many rooms.
Any ideas or guidance please?
I worked it out following:
Just in case anyone comes through here looking for the same.
Will try and redo it in Stimulus when I get chance.