I just starting to learn ionic 2 , I never tried ionic 1 before
And i try to make input text auto complete on ionic 2
I already tried ng2-auto-complete and ng2-completer to achieve this
but it seems hard to me to understand ,
there’s example for this? I’m done read the documentation especially search bars section , but search bars are not exactly what i need
So hard to find any resource about ionic 2 than ionic 1 ,
should i use jquery auto complete maybe?
and should i move to ionic 1 because ionic 2 is newer and less resource ?
because i’m new for angular 2 too
Thank you , and sorry for bad english
hi, i am looking for the same thing… not a search bar but an input with listdrop down and autocomplete
I’m using the html and css found here.
hi, can you show your custom component if it’s not too much… using only html and css , what about the functionality! much appreciated
<ion-item *ngFor="let res of refRicerca" (click)="addNote(res)">
padding: 1px !important;
Hope this help!
this is my auto complete (small screen 'cause screencast on chrome and keyboard up)
that function ? is the responsible of autocomplete? when the user click the input?
No, (click) will add the item to my list.
great! it is similar to autocomplete
can you please also add ts file.
This is a slightly different approach that the ones listed above. So it’s basically a select scroller component with a filter/autocomplete bar at the top.
You can find the
link to the interactive demo & code here.
PS. This is a commercial component, someone might find it useful
Hi Andrea, the methods addFocus() and removeFocus() in html file, how did you to hide or show the list? Do you can show the code? Thanks, your post is helping me.
You can checkout
ionic4-auto-complete. Despite it’s name it works with Ionic 2+ and Angular 2+.
Need to be update, the Project is Dead, new Project is Here
This’s the fork of the Ionic 2 version to ionic 4