Materialize Autocomplete : Autocomplete is basically used to provide the possible values as suggestion to the user. Here in this tutorial we are going to explain how you can create Autocomplete in Materialize framework. You can also use our online editor to edit and run the code online.
Materialize Autocomplete Example
First create a input box and then initialize the autocomplete using jQuery. Here is a simple example of Autocomplete in Materialize-
Materialize Autocomplete Example:
Autocomplete is part of jQuery plugin so it needs to be initialized as above. If you run the above example it will produce the output something like this –
Let us have some More example and demo about Autocomplete.
Materialize Autocomplete Not Working?
Sometimes we face issue in autocomplete initialization, the possible reason could be you have not initialized the jQuery for autocomplete.
Materialize Autocomplete Not Working? Reason:
selector – class, id of input box.