How to initialize datepicker in stimulus controller?
Turbo:load runs when a page loads, not a frame. It's the same as the old turbolinks event. Frames are independent from page views which means you need to setup a Stimulus controller instead.
Check out stimulus-flatpickr and you won't have to build anything. 👍