hikaya-io / hakawati

A collection of UI components
GNU General Public License v3.0
2 stars 1 forks source link

`h-table`: Filtering on multiple columns should disable dropdown options that are already filtered out #363

Open andrewtpham opened 2 years ago

andrewtpham commented 2 years ago

When you filter by a column, and select another column to filter, options that are not shown should be disabled. See GIF example I filter on address and select two filter options. Then I select on name to filter on the names but I still see Ben as an option to select. This option can still be displayed in the dropdown but we should disable this option so that users dont try to select it. Currently when it is selected, it breaks the first column filter. spreadsheet-multiple-filter

Originally posted by @andrewtpham in https://github.com/hikaya-io/hakawati/issues/355#issuecomment-1222664135