Skip to content

Add event property to the onChange callback - ColorPicker #182

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

Open
nikkizol opened this issue Oct 18, 2021 · 0 comments
Open

Add event property to the onChange callback - ColorPicker #182

nikkizol opened this issue Oct 18, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@nikkizol
Copy link

nikkizol commented Oct 18, 2021

Would be nice to add an event property to the onChange callback - ColorPicker

So we would have something like this:

const handleColorChange = (event: ChangeEvent<HTMLInputElement>, newColor: Color) => { .... };

<ColorPicker onChange={handleColorChange} hideTextfield />

@mikbry mikbry added the enhancement New feature or request label Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants