11/5/2017 - 1:13 AM


MATERIALIZE The data is a json object where the key is the matching string and the value is an optional image url.

    data: {
      "Apple": null,
      "Microsoft": null,
      "Google": ''
    limit: 20, // The max amount of results that can be shown at once. Default: Infinity.
    onAutocomplete: function(val) {
      // Callback function when value is autcompleted.
    minLength: 1, // The minimum length of the input for the autocomplete to start. Default: 1.
<div class="row">
    <div class="col s12">
      <div class="row">
        <div class="input-field col s12">
          <i class="material-icons prefix">textsms</i>
          <input type="text" id="autocomplete-input" class="autocomplete">
          <label for="autocomplete-input">Autocomplete</label>