Skip to content

fix: [select] pass searchValue to the autocomplete search input - #968

Merged
Shreyag02 merged 1 commit into
mainfrom
fix/select-search-value
Oct 19, 2026
Merged

Shreyag02 merged 1 commit into
mainfrom
fix/select-search-value

Conversation

@Shreyag02

Copy link
Copy Markdown
Contributor

Summary

  • Pass searchValue and defaultSearchValue to the Base UI Combobox as inputValue and defaultInputValue in autocomplete mode. A controlled searchValue filtered the list while the search input stayed empty, and defaultSearchValue filtered the list while the input was empty.
  • Add tests for the search input with a controlled searchValue and with defaultSearchValue.

Stacked on #966. Retarget to main after it merges.

@vercel

vercel Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
apsara Ready Ready Preview Oct 19, 2026 5:21am UTC

@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 17 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1d36fcbf-5d01-492b-bec0-06bdceed21f2
📥 Commits

Reviewing files that changed from the base of the PR and between c12ac2f and 27cadc5.

📒 Files selected for processing: 2
  • packages/react/components/select/__tests__/select.test.tsx
  • packages/react/components/select/select-root.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/@raystack/apsara@968

commit: 27cadc5

@Shreyag02 Shreyag02 self-assigned this Oct 11, 2026
@Shreyag02
Shreyag02 changed the base branch from refactor/use-controlled to fix/combobox-input-value October 11, 2026 19:48
@Shreyag02
Shreyag02 added this pull request to stack #970 October 11, 2026 19:48
Base automatically changed from fix/combobox-input-value to main October 19, 2026 05:13
@Shreyag02
Shreyag02 force-pushed the fix/select-search-value branch from 67ef5ca to 27cadc5 Compare October 19, 2026 05:13
@Shreyag02
Shreyag02 merged commit 2cfaa03 into main Oct 19, 2026
8 checks passed
@Shreyag02
Shreyag02 deleted the fix/select-search-value branch October 19, 2026 05:21

This branch was successfully deployed

1 active deployment
Preview — 27cadc54 Deployed Oct 19, 2026 by vercel[bot]
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.

2 participants