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

Select onValueChange will called with empty string when side <form/> #3249

Open
himself65 opened this issue Nov 22, 2024 · 0 comments
Open

Comments

@himself65
Copy link

himself65 commented Nov 22, 2024

Bug report

Current Behavior

Button change a value state will call onValueChange callback

Expected behavior

onValueChange should not called

Reproducible example

https://github.com/himself65/selectissue

Suggested solution

Additional context

Your environment

Software Name(s) Version
Radix Package(s) @radix-ui/react-select 2.1.2
React n/a 19.0.0-rc-66855b96-20241106
Browser chrome
Assistive tech
Node n/a
npm/yarn pnpm 9
Operating System macos 15
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

No branches or pull requests

1 participant