carbon-addons-iot-react icon indicating copy to clipboard operation
carbon-addons-iot-react copied to clipboard

[Table] advanced filters toggle button not disabled on toolbar.isDisabled

Open bjornalm opened this issue 2 years ago • 0 comments

What package is this for?

  • [x] React
  • [ ] Angular

Describe the bug

The prop view.toolbar.isDisabled should disable everything in the toolbar but the toggle advanced filters is not disabled.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://next.carbon-addons-iot-react.com/?path=/story/1-watson-iot-table--playground
  2. Click on tab "Title & toolbar"
  3. Enable knob view.toolbar.isDisabled
  4. Click on tab "Sort & filter"
  5. Enable knob options.hasAdvancedFilter
  6. Notice that the filter button is not disabled

Please create a reduced test case in CodeSandbox: https://codesandbox.io/s/github/carbon-design-system/carbon-addons-iot-react/tree/next/packages/react/examples/codesandbox

Expected behavior

The filter button should be disabled

Environment/versions:

  • OS: [e.g. MacOS, Windows]
  • Browser: [e.g. chrome, safari]
  • carbon-addons-iot-react version: [e.g. v2.60.0]

Additional context

If applicable, add screenshots to help explain your problem.

Add any other context about the problem here.

Specific timeline issues / requests

Do you want this work within a specific time period? Is it related to an upcoming release?

NB: The core contributors will try to work with your timeline, but it's not guaranteed. The earlier you make a request in advance of a desired delivery date, the better!

bjornalm avatar Mar 02 '22 15:03 bjornalm