Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

fix: 🐛 select all state correctly reflected after rerendering #135

Merged
merged 1 commit into from
May 10, 2019
Merged

fix: 🐛 select all state correctly reflected after rerendering #135

merged 1 commit into from
May 10, 2019

Conversation

randymorris
Copy link
Contributor

If the number of options increases when rerendering but the number of
selected values stays the same, Picky should not report that all values
are selected. This change adds additional checks to see if the number
of options changes between rerenders and sets the state accordingly.

Closes: #134

Note

Make sure you have read the contribution guidelines

If the number of options increases when rerendering but the number of
selected values stays the same, Picky should not report that all values
are selected.  This change adds additional checks to see if the number
of options changes between rerenders and sets the state accordingly.

✅ Closes: #134
@Aidurber
Copy link
Owner

Awesome, thanks for this @randymorris, I'll merge when I finish work.

@Aidurber Aidurber merged commit 85d39d6 into Aidurber:master May 10, 2019
@Aidurber
Copy link
Owner

🎉 This PR is included in version 4.4.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Select all" state incorrect after rerendering with additional options
2 participants