Hotwire Turbo Frame in Django application stops django-bootstrap-datepicker-plus from showing

57 Views Asked by At

In my Django App I use a Turbo Frame in a DetailView. The Turbo Frame loads a form into the DetailView. This form has a datefield for which I use a Datepicker (django-bootstrap-datepicker-plus). If I call the form directly the Datepicker works just fine, but when the form is called into the DetailView via Turbo Frame the Datepicker does not show.

Any suggestions on how to solve this and whats the underlying issue is?

Best

I tried to use Stimulus to initialize the Datepicker but so far I have no success and I also couldnt find any Q&A in the Internet.

0

There are 0 best solutions below