May 16, 2019 Uncategorized

Filtering lists in Angular with RxJs

Suppose that you have an observable that contains a list of elements and you have a text input control. You want that when the user types something in the input control your list is filtered automatically (take into account that this filter is applied in the client side, not in the server side). You can use the operator combineLatest to filter your list:

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Back to top