geist-ui icon indicating copy to clipboard operation
geist-ui copied to clipboard

Select component onChange not have source event

Open lxhyl opened this issue 1 year ago • 0 comments

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

lxhyl avatar Jun 05 '23 06:06 lxhyl