Search field with dropdown result list


#1

Hi everyone. I know it sucks coming up in a forum asking stuff that looks like “oh, this guy is lazy”, but i’ve tryed every google result so far and most even saying they’re using ionic 2, it was ionic 1 (???)
I need to build a search input field that filters the result into a list that appears under the field after the user starts typing (like the one here in the top of the forum), and when a result is clicked it populates the field. I have a provider with the hardcoded data and i just need the field + list.
Is there a good example of how i can do this?

Thanks.


#2

For Ionic 2 look at http://ionicframework.com/docs/v2/components/#searchbar

For Ionic 1 look at https://github.com/djett41/ionic-filter-bar