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

fix(combobox/item): fix some items not add into allItems map #1368

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from

Conversation

RayGuo-ergou
Copy link
Contributor

@RayGuo-ergou RayGuo-ergou commented Oct 13, 2024

Description

closes #1234

This pr fixes when rootContext.isVirtual.value || rootContext.ignoreFilter.value || !rootContext.filterState.search is false, the item will never add into allItems map.

Added an event listener to apply filter when allItems size changes.

* It uses watch rather than watchDebounced even the items are set one by one because it's handled by vue watch

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

Successfully merging this pull request may close these issues.

1 participant