-
Notifications
You must be signed in to change notification settings - Fork 77
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): include groups in filtering #10511
fix(combobox): include groups in filtering #10511
Conversation
This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👨🚀🚀🪐
await page.waitForChanges(); | ||
await combobox.type("group"); | ||
await page.waitForChanges(); | ||
await new Promise((res) => setTimeout(() => res(true), DEBOUNCE.filter)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, can you use await page.waitForTimeout
? Applies to other timeouts.
await combobox.type("group"); | ||
await page.waitForChanges(); | ||
await new Promise((res) => setTimeout(() => res(true), DEBOUNCE.filter)); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would waiting for calciteComboboxFilterChange
help avoid the debounce timeout? We can revisit this separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree a refactor PR would be beneficial considering it is repeated multiple times.
Related Issue: #7702
Summary
Includes groups while filtering in
calcite-combobox
.