connectwidgets icon indicating copy to clipboard operation
connectwidgets copied to clipboard

search box/filter applied to cards

Open oude-gao opened this issue 3 years ago • 2 comments

Hi, awesome package, literally solved our problems of building a page from scratch to showcase our work within the business! Now that I'm starting to build up pages with it, I found out the search boxes and filters do not really apply to the cards view. Am I doing anything wrong?

rsc_cols(
  rsc_search(sample_content),
  rsc_filter(sample_content),
  widths = c(6, 6),
  device = "md")

sample_content %>%
  rsc_card()

Is this by design?

Thanks!

oude-gao avatar Aug 09 '21 20:08 oude-gao

This is by design. Cards were most typically displayed individually so it felt odd to have them disappear if a separate table or grid was being filtered. I'm going to leave this open as a feature request though, especially if others are expecting the behavior.

Lytol avatar Aug 10 '21 18:08 Lytol

Thank you!

oude-gao avatar Aug 10 '21 20:08 oude-gao