Django dash app is not embedding as regular html components

I have created Django dash with two dropdowns and submit button. It is a part of header of website and I have loaded it using {% load plotly_dash %} {% plotly_app name=“SearchApp” %}. The app is embedded as iframe and hence dropdown output is autoscrolled inside iframe. How can I include it as regular html component?

There is a plotly_direct template tag that will insert the dash app without an iframe. It does however limit you to one app per page.

2 Likes