Skip to content

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

Open
@Ibidapo

Description

@Ibidapo

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions