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)
-
0
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>.