How to use Combobox in Table filter ? #1672
-
I am trying to do a custom filter in the Table. I made a codesandbox for it : https://codesandbox.io/s/table-filter-multi-select-k4r4wz At first, I used radio buttons like in the storybook example and it worked just fine : Can someone help me using combobox there ? Note : |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
I'm not sure I understand what you're trying to achieve here. If you just need a combobox, you should be able to use it inside your custom filter without any custom styles (except maybe a max-width). What difficulty are you facing exactly? It's also worth noting that those UX guidelines are outdated and unmaintained. We recommend consulting with your product's UX designer for (potentially) new guidelines. |
Beta Was this translation helpful? Give feedback.
here is a new sandbox showing how you can avoid
ComboBox
and useSearchBox
to filter a list of checkboxes while keeping the "Filter"/"Clear" buttons: https://codesandbox.io/s/table-filter-multi-select-base-example-forked-46jpmt?file=/src/custom-filter.tsx