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

TextArea onChange callback does not pass the Input object #907

Closed
thomasandersen opened this issue Nov 20, 2016 · 2 comments
Closed

TextArea onChange callback does not pass the Input object #907

thomasandersen opened this issue Nov 20, 2016 · 2 comments

Comments

@thomasandersen
Copy link

TextArea - onChange callback does not pass the input object. Most other Form fields I have tried does this.

Steps

See also Testcase

  1. Create a TextArea and give it a onChange callback function.
  2. In the callback function print the arguments.

Expected Result

The callback function should pass the input object as the second parameter.
This would be consistent with other form fields.

Actual Result

The onChange callback for TextArea has only one argument.

Version

0.61.1

Testcase

http://codepen.io/anon/pen/LbxqKM

@levithomason
Copy link
Member

Folks can reference #846 for an example on how to add this callback. Also, #853 which was a bug fix to update the value key of the data object that is passed back in onClick(event, data).

@levithomason
Copy link
Member

See #920

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants