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

[BUG] persistence doesn't work with dict() id's #1245

Closed
MM-Lehmann opened this issue May 14, 2020 · 2 comments · Fixed by #1248
Closed

[BUG] persistence doesn't work with dict() id's #1245

MM-Lehmann opened this issue May 14, 2020 · 2 comments · Fixed by #1248
Assignees
Labels
bug something broken

Comments

@MM-Lehmann
Copy link

dash                 1.12.0
dash-core-components 1.10.0
dash-html-components 1.0.3
dash-renderer        1.4.1
dash-table           4.7.0
  • if frontend related, tell us your Browser, Version and OS

    • OS: linux
    • Browser firefox
    • Version 76

Describe the bug

When using new style id=dict(...) compoents like dcc.Checklist or dcc.Input, the value is not persistent (persistence_type='session') over a page refresh. An ambiguous storage item is created but vanishes upon page refresh: _dash_persistence.[object Object].value.true. All is good, when using the old style id=str(...).

@alexcjohnson
Copy link
Collaborator

Thanks @MM-Lehmann - good catch! Should be an easy fix.

@MM-Lehmann
Copy link
Author

Cool. If there's anything I can help with (apart from testing ;)), let me know.

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

Successfully merging a pull request may close this issue.

2 participants