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

If the stored value is array, it gets reset when the component mounts back #44

Open
CzechCoder opened this issue Nov 19, 2024 · 0 comments

Comments

@CzechCoder
Copy link

I was trying to use this in a modal which contained a form with filters. One of those filters creates objects in an array through a multiple-select component. The values for this select are stored fine in the localStorage, but when I apply the filters and close the modal, the array value suddenly empties when open the modal again. All the other types of values are fine.

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