Dogfalo / materialize

Materialize, a CSS Framework based on Material Design
https://materializecss.com
MIT License
38.86k stars 4.74k forks source link

chips autocomplete #5968

Open dineshmaths1 opened 6 years ago

dineshmaths1 commented 6 years ago

Hii,

i want to use autocomplete using ajax its possible ?

acburst commented 6 years ago

You can use ajax to set the data of your autocomplete

dineshmaths1 commented 6 years ago

Please give me a sample code. I want to suggestion concept method.

optyler commented 5 years ago

Hi,

as far as I know, you can only retrieve the full list of your users and set it as data. You can't use ajax to fetch suggestions as you are typing, which can be very useful when you have a huge active directory behind, which is my case. Today, I have no solution, if someone have suggestions on how to do it, I'm interested ;)

salikadave commented 4 years ago

I am looking to use AJAX too with autocomplete. Currently, I am caching the data in the session storage as my directory isn't large, but might become larger later. Any help would be appreciated !