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

Suggestion for the State that is used in the useCommandState hook #323

Open
Popushka opened this issue Oct 28, 2024 · 0 comments
Open

Suggestion for the State that is used in the useCommandState hook #323

Popushka opened this issue Oct 28, 2024 · 0 comments

Comments

@Popushka
Copy link

Hi, I was playing with the useCommandState and I noticed that you are returning the filtered items that have:
-the count of all the active items
-the items with itemsID and value
-the groupsIDs
I was wondering if you could add the groupID in the items, so that we can count how many active items there are in each group.
I think it will be a useful change if somebody wants to add the number items each group has in the group heading (example)

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