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

inputProps: onClick not working #616

Closed
aroarian opened this issue Feb 4, 2021 · 2 comments
Closed

inputProps: onClick not working #616

aroarian opened this issue Feb 4, 2021 · 2 comments
Labels

Comments

@aroarian
Copy link

aroarian commented Feb 4, 2021

Version

5.1.4

Steps to reproduce

Add inputProps as a prop and add onClick

  inputProps={{
    onClick: () => console.log('test')
  }}

Once built click on input box

https://codesandbox.io/s/8zw7b-8zw7b

Expected Behavior

Upon clicking the input box the function should run the code

Actual Behavior

Upon clicking the input box the function code is not run.

@aroarian aroarian added the bug label Feb 4, 2021
@aroarian aroarian changed the title inputProps: onClick on working inputProps: onClick not working Feb 4, 2021
@ericgio
Copy link
Owner

ericgio commented Feb 9, 2021

@aroarian: Thanks for the bug report, I can reproduce the issue.

@ericgio
Copy link
Owner

ericgio commented Jul 9, 2021

Fixed in v5.2.0

@ericgio ericgio closed this as completed Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants