carbon-addons-iot-react
carbon-addons-iot-react copied to clipboard
[TableToolbarAdvancedFilterFlyout] Advanded filter error when columns are empty
What package is this for?
- [x] React
- [ ] Angular
Describe the bug
The TableToolbarAdvancedFilterFlyout fails and breaks the table when the columns are an empty array or undefined, e.g. when lazy loading columns and data.
To Reproduce
Steps to reproduce the behavior:
- Go to a story using TableToolbarAdvancedFilterFlyout
- Modify the story to have no columns in the
columnsprop - See error
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
No error thrown
Environment/versions:
- OS: [e.g. MacOS, Windows]
- Browser: [e.g. chrome, safari]
carbon-addons-iot-reactversion: [e.g.v2.60.0]
Additional context

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!
@JordanWSmith15 assigning this a severity:4 since the TableToolbarAdvancedFilterFlyout is experimental