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

onStateChanged not triggering when filters are modified #492

Open
tduffield opened this issue Dec 2, 2024 · 0 comments
Open

onStateChanged not triggering when filters are modified #492

tduffield opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
user issue An issue or bug reported by users

Comments

@tduffield
Copy link

Describe the bug
According to the documentation, the onStateChanged callback should trigger when the user adjusts the filtering. However, that does not appear to be happening.
Not sure if the documentation is wrong, or if there is a legit bug in the code.

Steps to reproduce

  1. Go to https://surveyjs.io/dashboard/examples/save-dashboard-state-to-local-storage/reactjs#
  2. Click on any bar to filter the charts.
  3. Click on "Reload this page"
  4. See that the filtering has not been saved.

Expected behavior
Based on the documentation, I would expect the filtering information to be preserved.

Screenshots
If applicable, add screenshots to help explain your problem.

Please complete the following information:

  • Browser: Chrome, Firefox
  • Browser version: varies
  • JS framework/library: Seen locally with Vanilla JS
  • SurveyJS version: v1.12.12
  • Device: Mac M3
@tsv2013 tsv2013 self-assigned this Dec 3, 2024
@tsv2013 tsv2013 added the user issue An issue or bug reported by users label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
user issue An issue or bug reported by users
Projects
None yet
Development

No branches or pull requests

2 participants