dash-labs icon indicating copy to clipboard operation
dash-labs copied to clipboard

Multipage dash-app have trouble with dash_dangerously_set_inner_html

Open NRVA opened this issue 3 years ago • 2 comments

NRVA avatar Apr 19 '22 08:04 NRVA

Can you say more? A minimal example where you expected X and saw Y instead?

alexcjohnson avatar Apr 20 '22 01:04 alexcjohnson

It works as expected when I wrap something like html.P("text") inside the ...inner_html, but returns the image below when I wrap a script inside it Skjermbilde 2022-04-26 kl  20 57 41 .

Seems to be something like this: https://community.plotly.com/t/dash-dangerously-set-inner-html-in-a-multi-page-app/10548

NRVA avatar Apr 26 '22 19:04 NRVA