'Rails turbo frame response not firing turbo:load
I have a standard inline edit using Turbo, that replaces the turbo frame of the show
view with the turbo frame in the _form
. But the $(document).on "turbo:load", ->
event is not firing in this case.
I don't see another event that should be used. Any ideas how to run js on a response that replaces a turbo frame? (eg to initialise the datepicker in a form)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|