-
Couldn't load subscription status.
- Fork 6
fix(FilterListBox): filtering issue #851
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: ac15702 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📦 NPM canary releaseDeployed canary version 0.0.0-canary-8ac2e3b. |
🧪 Storybook is successfully deployed!
|
🏋️ Size limit report
Click here if you want to find out what is changed in this build |
Note
Fixes FilterListBox filtering by delegating empty-state handling to ListBox via a new emptyLabel prop, showing “No results found” vs “No items” appropriately.
FilterListBox(src/components/fields/FilterListBox/FilterListBox.tsx):hasResults/showEmptyMessagelogic and always rendersListBox.emptyLabelbased onsearchValue("No results found" when searching, else "No items").filterFnand forwardsstateReffor accurate filtered collection.ListBox(src/components/fields/ListBox/ListBox.tsx):emptyLabelprop and renders an empty-state row whencollection.size === 0.@cube-dev/ui-kitnoting the FilterListBox filtering fix.Written by Cursor Bugbot for commit ac15702. This will update automatically on new commits. Configure here.