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 component onChange not have source event #844

Open
lxhyl opened this issue Jun 5, 2023 · 0 comments
Open

Select component onChange not have source event #844

lxhyl opened this issue Jun 5, 2023 · 0 comments

Comments

@lxhyl
Copy link

lxhyl commented Jun 5, 2023

Bug report 🐞

Version & Environment

  • Version of browser. Chrome 113.0.5672.126
  • Version of geist-ui/core. 2.3.8

Expected Behaviour

The behavior I expect is have origin select onChange event. Then we can hanlde this event to preventDefault. Cancel the state change.

Actual results (or Errors)

I got an error:

Select component only have value param when onChange event trigger. You can not stop the value change. Even that is a wrong value.

code
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