Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Autocomplete ANgular2 #3064


User avatar
0
onecontact created

Please, can you teach me how implement a autocomplete plugin with angular2?, we're using the material design theme of metronic. thank you


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Metronic theme contains some jquery based autocomplete libraries but I suggest you to use a native angular component. I have found this one <a class="postlink" href="https://github.com/oferh/ng2-completer">https://github.com/oferh/ng2-completer</a>, it seems like a good one. It's github page has an explanation for how to use it.

    In order to get data from server, you can take a look at this service <a class="postlink" href="https://github.com/oferh/ng2-completer/blob/master/src/services/remote-data.ts">https://github.com/oferh/ng2-completer/ ... te-data.ts</a>.