Open
Description
The following results in a warning after trying to add the callback:
library(dash)
app <- Dash$new()
app$layout(dashHtmlComponents::htmlDiv())
app$callback(
list(
output("out1", "children"),
output("out2", "children")
),
params = list(
input("in1", "value"),
input("in2", "value"),
input("in3", "value")
),
function(...) {}
)
After some testing, I think it might only happen when there are multiple inputs and multiple outputs and the number is not equal. If you remove one output, it works (1 vs 3). If you remove one input it also works (2 vs 2). If you add an output, it works (3 vs 3).
Metadata
Metadata
Assignees
Labels
No labels