Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filterable controller #18

Open
RolandStuder opened this issue Oct 22, 2020 · 1 comment
Open

Filterable controller #18

RolandStuder opened this issue Oct 22, 2020 · 1 comment
Labels
enhancement New feature or request
Projects

Comments

@RolandStuder
Copy link

I will probably soon write a little component to filter from a list of html elements.
Interested in something like this, would be happy to contribute that.

<div data-controller="filterable">
  <input data-action="onkeyup->filterable#filter" data-filter-hidden-class="hidden">
  Listing <span data-target="filterable.filteredCount"> entries
  <div data-target="filterable.entry">
    Your content here.
  </div>
  ...
  <div data-target="filterable.noResults" class="hidden">
    Sorry, no results.
  </div>
</div>
@guillaumebriday guillaumebriday added the enhancement New feature or request label Oct 23, 2020
@guillaumebriday guillaumebriday added this to To do in Board Nov 17, 2020
@JulianFeinauer
Copy link

Hey nice idea... I also have a similar idea so I could imagine contributing here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Board
To do
Development

No branches or pull requests

3 participants