spartan icon indicating copy to clipboard operation
spartan copied to clipboard

RFC: Add Filter functionality for Listbox component

Open tsironis13 opened this issue 1 year ago • 2 comments

Which scope/s are relevant/related to the feature request?

Don't know / other

Information

Add filter functionality for Listbox component like the one provided by primeng. https://primeng.org/dropdown#filter

Describe any alternatives/workarounds you're currently using

No response

I would be willing to submit a PR to fix this issue

  • [X] Yes
  • [ ] No

tsironis13 avatar Jun 20 '24 09:06 tsironis13

Hey there! What exactly are you looking for. We are actually using listbox to power the select primitive, but I am curious what your use case is and what functionality you expect on top of the CDK listbox

goetzrobin avatar Jun 21 '24 13:06 goetzrobin

Hey there! What exactly are you looking for. We are actually using listbox to power the select primitive, but I am curious what your use case is and what functionality you expect on top of the CDK listbox

hello! Basically I edited the RFC... because yesterday I realized that Listbox is already created and maybe adding filtering functionality would be something useful from a user perspective as a new feature for the listbox component. I try to find out a way to get my hands dirty on this project so if this proposal does not fit the needs...it would be really appreciate it if you could suggest me something else to cope with.

tsironis13 avatar Jun 21 '24 14:06 tsironis13

We now have the combobox component, which provides a select/listbox like control with filtering:

https://spartan.ng/components/combobox

We can reopen if there is some additional functionality required.

ashley-hunter avatar Aug 07 '25 22:08 ashley-hunter