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

Can't trigger TextField onChange() when TextField is inside RadioGroup #11751

Closed
1 task done
priyank-purohit opened this issue Jun 6, 2018 · 0 comments
Closed
1 task done
Assignees
Labels
bug 🐛 Something doesn't work component: text field This is the name of the generic UI component, not the React module!

Comments

@priyank-purohit
Copy link

  • This is a v1.x issue (v0.x is no longer maintained).
  • [x ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Sometimes you need to have a TextField inside RadioGroup (e.g. when a value is needed in addition to a Radio option). If user types in this TextField, the onChange event should be triggered.

Current Behavior

Currently onChange is not triggered for any TextField inside the RadioGroup tags (suspect this may be the case for other tags as well).

Steps to Reproduce (for bugs)

https://codesandbox.io/s/q7n3m7v1k9

Open CodeSandBox console....

@oliviertassinari oliviertassinari added the component: text field This is the name of the generic UI component, not the React module! label Jun 7, 2018
@oliviertassinari oliviertassinari self-assigned this Jun 7, 2018
@oliviertassinari oliviertassinari added the bug 🐛 Something doesn't work label Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: text field This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

2 participants