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

Setting selected values to my own state clears current selected values #105

Open
alvamanu opened this issue Jul 21, 2021 · 0 comments
Open

Comments

@alvamanu
Copy link

Trying to set my own state with the selected values inisde the handleSelectionFinish will update my state but it will also clear the current selection.

setValues({ ...values, day_parting_values: payload });

As soon as I do a mouse up, my own state will be modified but I won't be able to see what I have selected.

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