Open renatobellotti opened 1 year ago
Thanks for posting!
Updating the JS deps (as in https://github.com/plotly/Dash.jl/pull/208) will get us most of the way there.
Using the https://github.com/plotly/Dash.jl/pull/208 branch, I got your Julia snippet to run
We can translate the original python snippet into:
using Dash
entries = [Dict("label" => [html_div(; style=Dict("width" => "2cm",
"height" => "1em",
"background-color" => "red")),
"my test"],
"value" => "my test")]
structure_checkboxes = dcc_checklist(options=entries, style=Dict("width" =>"100%"))
app = dash()
structure_list = html_div( className="col-6", children=[structure_checkboxes])
gui = html_div(children=[structure_list])
app.layout = html_div(gui)
run_server(app, "0.0.0.0", 8080, debug=true)
but unfortunately even using the branch from https://github.com/plotly/Dash.jl/pull/208, I'm getting
Hello,
The following snippet works in Python:
I have tried this simplified code, but even the simplified example gives me the following error message:
How would I translate this to Julia? Unfortunately, the corresponding section in the documentation is not translated to Julia.