geist-ui
geist-ui copied to clipboard
Select component onChange not have source event
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