Skip to content

Select component onChange not have source eventΒ #844

@lxhyl

Description

@lxhyl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions