Return more values in SearchBar

I would like return more values in searchbar for example

// if (occurrence.title.toLowerCase().indexOf(val.toLowerCase()) > -1 || occurrence.description.toLowerCase().indexOf(val.toLowerCase()) > -1) {
        //   return true;
        // }else {
        //   return false;
        // }

its possible ?

Yes. Though at least the way I did it was a bit technical.

<ion-searchbar [formControl]="searchControl" type="text"></ion-searchbar>
searchControl: FormControl = new FormControl();
const filterFromSearchBar: Observable<string> = this.searchControl.valueChanges.debounceTime(250)
                                                                      .startWith('');

This gives you a stream of values from the search bar that you can subscribe to or manipulate. I made my array of items I wanted to display into an Observable also, and used combineLatest to filter the items with toLowerCase() of the text emitted by the search bar.