Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error thrown (but there should be) when callbacks have a period character in the ID of an input/output/state #281

Open
daattali opened this issue Oct 22, 2021 · 0 comments

Comments

@daattali
Copy link
Contributor

I learned yesterday that periods should not be allowed in IDs in Dash. I just tried the following app, and I didn't receive any errors. The app did not work, but the only error was in the javascript console in the browser - that's not useful for R developers, they wouldn't think to look there. The error needs to happen in the R console.

library(dash)

app <- dash_app()

app %>% set_layout(
  dccInput("my.name", "dean"),
  div(id = "out")
)

app %>% add_callback(
  outputs = output("out", "children"),
  params = input("my.name", "value"),
  I
)

app %>% run_app()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant