Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG] No output callbacks with clientside_callback #2866

Closed
T4rk1n opened this issue May 23, 2024 · 1 comment · Fixed by #2867
Closed

[BUG] No output callbacks with clientside_callback #2866

T4rk1n opened this issue May 23, 2024 · 1 comment · Fixed by #2867
Assignees
Labels
bug something broken

Comments

@T4rk1n
Copy link
Contributor

T4rk1n commented May 23, 2024

If a clientside callback has no output, it generate ID not found in layout error:

clientside_callback(
    """
    function(_) {
        window.location.reload();
    }
    """,
    Input("reset-button", "n_clicks"),
    prevent_initial_call=True,
)
@T4rk1n T4rk1n added the bug something broken label May 23, 2024
@T4rk1n T4rk1n self-assigned this May 23, 2024
@nhoover
Copy link

nhoover commented Jun 16, 2024

Thanks for this fix - works great!! 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants