Adrien Poly

Results 166 comments of Adrien Poly

Thanks for reporting this issue. I was able to reproduce it in this little repo https://glitch.com/edit/#!/dull-basil?path=src/controllers/datepicker_controller.js:1:1 I would need to go back into the Turbolinks Lifecycle and cache handling to...

actually, I made a few more tests and it looks like it works only for the second time, not the first time... Will dig into this a bit later

For it to work from the start, I had to use `defer` instead of `async` when loading my js bundles: ```html ``` and keep updating the data-attribute `onChange` ```js change(selectedDates,...

can you try to send me an example to reproduce exactly what you are doing and the issue you can use this example as a starting point https://glitch.com/edit/#!/dull-basil?path=src/controllers/datepicker_controller.js:5:2 Thanks

Thanks for investigating this issue further. As you said it comes from `Flatpikr` clearing the input value on disconnect (`destroy`). Turbolinks cache happens after disconnect so when clicking back button...

Hello I haven’t documented this yet but what you ended up doing is how I would do it. I am afraid that importing all plugins into the stimulus-flatpickr wrapper would...

Sure feel free to open on PR on this I will look into it promptly I haven't worked into migrating this package to Stimulus 2.0. The targets that are manually...

This bites me a few time in times in the past too Maybe a way to solve it would be to be able to set a default policy for each...

We found that using the default resource policy does not work for us. As those policies are tied to the application they have lots of things that can be prevented...

I would like to throw an idea. looking at the upcoming combobox from [Jose Farias](https://github.com/josefarias). It looks like we could have the best of both world. https://x.com/fariastweets/status/1752494684474380717?s=20 Both free and...