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

Collapsible Panel: isDisabled Prop is preventing onChange handler in header components #2297

Open
Ibidapo opened this issue Sep 29, 2022 · 0 comments
Assignees

Comments

@Ibidapo
Copy link

Ibidapo commented Sep 29, 2022

Describe the bug
When isDisabled prop is passed to Collapsible Panel with header component of TextInput, while typing in the TextInput, the value doesn't change and the onChange handler doesn't fire except for backspacing pasted text in the TextInput.

Expected behavior
Navigate to the Taxes tab on the Project Settings page, when isDisabled prop is passed to Collapsible Panel with header component of TextInput, while typing in the TextInput, the value should change.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Project Settings page and navigate Taxes tab
  2. Click on Add tax category
  3. Type in the TextInput for Tax Name
  4. User wouldn't be able to type.
Screen.Recording.2022-09-29.at.14.18.36.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants