Skip to content

Filter with input box #35

Open
Open
@levipadre

Description

@levipadre

Hi,

Thanks for the great library!
Does anybody know how can I filter properly with an input box?
The filtering is working almost perfectly, just when I delete some character (or everything) from the text from the search box, I didn't get back the proper/full list.
Here is my current code:

<div id="isotopeContainer" isotope-container>
   <div class="isotope-item {{x.class}}" ng-repeat="x in List | filter:search | orderBy: title " isotope-item>
      <p>{{x.title}}</p>
   </div>
</div>

<input type="text" ng-model="search.title" />

Thanks,
L

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions