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.
Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.