Skip to content

feat: add onValueChange support to Input, Search, and TextArea#796

Merged
rohanchkrabrty merged 3 commits intomainfrom
feat-support-onvaluechange
May 8, 2026
Merged

feat: add onValueChange support to Input, Search, and TextArea#796
rohanchkrabrty merged 3 commits intomainfrom
feat-support-onvaluechange

Conversation

@rohanchkrabrty
Copy link
Copy Markdown
Contributor

Summary

  • Added onValueChange to TextArea as a convenience callback that fires alongside onChange with just the new string value.
  • Documented existing onValueChange support on Input (inherited from Base UI) and Search (forwarded to the underlying Input) — previously undocumented, so it wasn't discoverable.
  • Added "Controlled Value" demo sections and updated the prop tables for all three components so the API is consistent and visible in docs.
  • Added unit tests covering TextArea onValueChange alone and alongside onChange.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

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

Project Deployment Actions Updated (UTC)
apsara Ready Ready Preview, Comment May 8, 2026 9:01am

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 8, 2026

Review Change Stack

Warning

Rate limit exceeded

@rohanchkrabrty has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 54 minutes and 19 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4043b242-ca5f-4bc7-852c-5d1b4c81001c

📥 Commits

Reviewing files that changed from the base of the PR and between 6369564 and b9eac8a.

📒 Files selected for processing (13)
  • apps/www/src/content/docs/components/input/demo.ts
  • apps/www/src/content/docs/components/input/index.mdx
  • apps/www/src/content/docs/components/input/props.ts
  • apps/www/src/content/docs/components/search/demo.ts
  • apps/www/src/content/docs/components/search/index.mdx
  • apps/www/src/content/docs/components/search/props.ts
  • apps/www/src/content/docs/components/textarea/demo.ts
  • apps/www/src/content/docs/components/textarea/index.mdx
  • apps/www/src/content/docs/components/textarea/props.ts
  • docs/V1-migration.md
  • packages/raystack/components/search/search.tsx
  • packages/raystack/components/text-area/__tests__/text-area.test.tsx
  • packages/raystack/components/text-area/text-area.tsx

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 and usage tips.

…tArea

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@rohanchkrabrty rohanchkrabrty merged commit b29dc15 into main May 8, 2026
3 of 4 checks passed
@rohanchkrabrty rohanchkrabrty deleted the feat-support-onvaluechange branch May 8, 2026 08:57
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