carbon-design-system / ibm-products

A Carbon-powered React component library for IBM Products
https://carbon-for-ibm-products.netlify.app/
Apache License 2.0
90 stars 131 forks source link

DataGrid Filter issues #4522

Closed marinamas closed 4 days ago

marinamas commented 4 months ago

What package(s) are you using?

Detailed description

  1. Create DataGrid along with Filter.
  2. Add a filter of type Checkbox.
  3. Add checkbox filter details as shown in the notes section.
  4. Select the checkbox filter from the filter flyout and click on Apply.
  5. Now try to remove the filter with label Glass using the X icon , this fails. ( As per my observation this happens when using different value for id and value attribute of the checkbox filter)

Is this issue related to a specific component? DataGrid Filter

What did you expect to happen? What happened instead? What would you like to On click of X , it should remove the selected filter.

What browser are you working in? Chrome and safari

What version of the @carbon/ibm-products (or @carbon/ibm-cloud-cognitive) package are you using? "@carbon/ibm-products": "2.30.0", "@carbon/react": "1.52.0",

Please create a reduced test case in CodeSandbox https://codesandbox.io/p/sandbox/brave-poincare-2ffcfr?file=%2Fpackage.json%3A56%2C2

marinamas commented 2 months ago

Any update on this issue?

marinamas commented 3 weeks ago

This issue is been fixed as a part of https://github.com/carbon-design-system/ibm-products/issues/5594

But we have another issue , when we try to clear filter across tabs with same column name.The filter gets cleared from all the tabs

marinamas commented 3 weeks ago

https://github.com/carbon-design-system/ibm-products/assets/80206173/ac9f20b1-f804-435b-a90a-00f22b013839